cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
vctDynamicVectorRefOwner< _elementType > Class Template Reference

#include <vctDynamicVectorRefOwner.h>

Public Types

typedef
vctDynamicVectorRefOwner
< _elementType > 
ThisType
 
typedef
vctVarStrideVectorConstIterator
< value_type > 
const_iterator
 
typedef
vctVarStrideVectorIterator
< value_type > 
iterator
 
typedef
vctVarStrideVectorConstIterator
< value_type > 
const_reverse_iterator
 
typedef
vctVarStrideVectorIterator
< value_type > 
reverse_iterator
 

Public Member Functions

 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
 
 vctDynamicVectorRefOwner ()
 
 vctDynamicVectorRefOwner (size_type size, value_type *data, stride_type stride=1)
 
void SetRef (size_type size, value_type *data, stride_type stride=1)
 
size_type size (void) const
 
stride_type stride (void) const
 
pointer Pointer (index_type index=0)
 
const_pointer Pointer (index_type index=0) const
 
const_iterator begin (void) const
 
const_iterator end (void) const
 
iterator begin (void)
 
iterator end (void)
 
const_reverse_iterator rbegin (void) const
 
const_reverse_iterator rend (void) const
 
reverse_iterator rbegin (void)
 
reverse_iterator rend (void)
 

Protected Attributes

size_type Size
 
stride_type Stride
 
value_type * Data
 

Detailed Description

template<class _elementType>
class vctDynamicVectorRefOwner< _elementType >

This templated class stores a pointer, a size, and a stride, and allows element access, but does not provide any other operations, and does not own the data

Member Typedef Documentation

template<class _elementType >
typedef vctVarStrideVectorConstIterator<value_type> vctDynamicVectorRefOwner< _elementType >::const_iterator
template<class _elementType >
typedef vctVarStrideVectorConstIterator<value_type> vctDynamicVectorRefOwner< _elementType >::const_reverse_iterator
template<class _elementType >
typedef vctVarStrideVectorIterator<value_type> vctDynamicVectorRefOwner< _elementType >::iterator
template<class _elementType >
typedef vctVarStrideVectorIterator<value_type> vctDynamicVectorRefOwner< _elementType >::reverse_iterator
template<class _elementType >
typedef vctDynamicVectorRefOwner<_elementType> vctDynamicVectorRefOwner< _elementType >::ThisType

The type of this owner.

Constructor & Destructor Documentation

template<class _elementType >
vctDynamicVectorRefOwner< _elementType >::vctDynamicVectorRefOwner ( )
inline
template<class _elementType >
vctDynamicVectorRefOwner< _elementType >::vctDynamicVectorRefOwner ( size_type  size,
value_type *  data,
stride_type  stride = 1 
)
inline

Member Function Documentation

template<class _elementType >
const_iterator vctDynamicVectorRefOwner< _elementType >::begin ( void  ) const
inline
template<class _elementType >
iterator vctDynamicVectorRefOwner< _elementType >::begin ( void  )
inline
template<class _elementType >
const_iterator vctDynamicVectorRefOwner< _elementType >::end ( void  ) const
inline
template<class _elementType >
iterator vctDynamicVectorRefOwner< _elementType >::end ( void  )
inline
template<class _elementType >
pointer vctDynamicVectorRefOwner< _elementType >::Pointer ( index_type  index = 0)
inline
template<class _elementType >
const_pointer vctDynamicVectorRefOwner< _elementType >::Pointer ( index_type  index = 0) const
inline
template<class _elementType >
const_reverse_iterator vctDynamicVectorRefOwner< _elementType >::rbegin ( void  ) const
inline
template<class _elementType >
reverse_iterator vctDynamicVectorRefOwner< _elementType >::rbegin ( void  )
inline
template<class _elementType >
const_reverse_iterator vctDynamicVectorRefOwner< _elementType >::rend ( void  ) const
inline
template<class _elementType >
reverse_iterator vctDynamicVectorRefOwner< _elementType >::rend ( void  )
inline
template<class _elementType >
void vctDynamicVectorRefOwner< _elementType >::SetRef ( size_type  size,
value_type *  data,
stride_type  stride = 1 
)
inline
template<class _elementType >
size_type vctDynamicVectorRefOwner< _elementType >::size ( void  ) const
inline
template<class _elementType >
stride_type vctDynamicVectorRefOwner< _elementType >::stride ( void  ) const
inline
template<class _elementType >
vctDynamicVectorRefOwner< _elementType >::VCT_CONTAINER_TRAITS_TYPEDEFS ( _elementType  )

Member Data Documentation

template<class _elementType >
value_type* vctDynamicVectorRefOwner< _elementType >::Data
protected
template<class _elementType >
size_type vctDynamicVectorRefOwner< _elementType >::Size
protected
template<class _elementType >
stride_type vctDynamicVectorRefOwner< _elementType >::Stride
protected

The documentation for this class was generated from the following file: