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

#include <vctDynamicMatrixRefOwner.h>

Public Types

enum  { DIMENSION = 2 }
 
typedef
vctDynamicMatrixRefOwner
< value_type > 
ThisType
 
typedef
vctVarStrideMatrixConstIterator
< value_type > 
const_iterator
 
typedef
vctVarStrideMatrixConstIterator
< value_type > 
const_reverse_iterator
 
typedef
vctVarStrideMatrixIterator
< value_type > 
iterator
 
typedef
vctVarStrideMatrixIterator
< value_type > 
reverse_iterator
 

Public Member Functions

 VCT_CONTAINER_TRAITS_TYPEDEFS (_elementType)
 
 VCT_NARRAY_TRAITS_TYPEDEFS (DIMENSION)
 
 vctDynamicMatrixRefOwner ()
 
 vctDynamicMatrixRefOwner (size_type rows, size_type cols, stride_type rowStride, stride_type colStride, pointer data)
 
void SetRef (size_type rows, size_type cols, pointer dataPointer, bool storageOrder)
 
void SetRef (const nsize_type &sizes, pointer dataPointer, bool storageOrder)
 
void SetRef (size_type rows, size_type cols, stride_type rowStride, stride_type colStride, pointer data)
 
void SetRef (const nsize_type &sizes, stride_type rowStride, stride_type colStride, pointer data)
 
void SetRef (const nsize_type &sizes, const nstride_type &strides, pointer data)
 
size_type size (void) const
 
const nsize_type & sizes (void) const
 
size_type rows (void) const
 
size_type cols (void) const
 
const nstride_type & strides (void) const
 
difference_type row_stride (void) const
 
difference_type col_stride (void) const
 
pointer Pointer (index_type rowIndex, index_type colIndex)
 
pointer Pointer (void)
 
const_pointer Pointer (index_type rowIndex, index_type colIndex) const
 
const_pointer Pointer (void) 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)
 
bool IsColMajor (void) const
 
bool IsRowMajor (void) const
 
bool IsCompact (void) const
 
bool StorageOrder (void) const
 

Protected Member Functions

void UpdateCachedData (void)
 

Protected Attributes

nsize_type SizesMember
 
nstride_type StridesMember
 
bool IsCompactMember
 
value_type * Data
 

Detailed Description

template<class _elementType>
class vctDynamicMatrixRefOwner< _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 vctVarStrideMatrixConstIterator<value_type> vctDynamicMatrixRefOwner< _elementType >::const_iterator
template<class _elementType >
typedef vctVarStrideMatrixConstIterator<value_type> vctDynamicMatrixRefOwner< _elementType >::const_reverse_iterator
template<class _elementType >
typedef vctVarStrideMatrixIterator<value_type> vctDynamicMatrixRefOwner< _elementType >::iterator
template<class _elementType >
typedef vctVarStrideMatrixIterator<value_type> vctDynamicMatrixRefOwner< _elementType >::reverse_iterator
template<class _elementType >
typedef vctDynamicMatrixRefOwner<value_type> vctDynamicMatrixRefOwner< _elementType >::ThisType

Member Enumeration Documentation

template<class _elementType >
anonymous enum
Enumerator
DIMENSION 

Constructor & Destructor Documentation

template<class _elementType >
vctDynamicMatrixRefOwner< _elementType >::vctDynamicMatrixRefOwner ( )
inline
template<class _elementType >
vctDynamicMatrixRefOwner< _elementType >::vctDynamicMatrixRefOwner ( size_type  rows,
size_type  cols,
stride_type  rowStride,
stride_type  colStride,
pointer  data 
)
inline

Member Function Documentation

template<class _elementType >
const_iterator vctDynamicMatrixRefOwner< _elementType >::begin ( void  ) const
inline
template<class _elementType >
iterator vctDynamicMatrixRefOwner< _elementType >::begin ( void  )
inline
template<class _elementType >
difference_type vctDynamicMatrixRefOwner< _elementType >::col_stride ( void  ) const
inline
template<class _elementType >
size_type vctDynamicMatrixRefOwner< _elementType >::cols ( void  ) const
inline
template<class _elementType >
const_iterator vctDynamicMatrixRefOwner< _elementType >::end ( void  ) const
inline
template<class _elementType >
iterator vctDynamicMatrixRefOwner< _elementType >::end ( void  )
inline
template<class _elementType >
bool vctDynamicMatrixRefOwner< _elementType >::IsColMajor ( void  ) const
inline
template<class _elementType >
bool vctDynamicMatrixRefOwner< _elementType >::IsCompact ( void  ) const
inline
template<class _elementType >
bool vctDynamicMatrixRefOwner< _elementType >::IsRowMajor ( void  ) const
inline
template<class _elementType >
pointer vctDynamicMatrixRefOwner< _elementType >::Pointer ( index_type  rowIndex,
index_type  colIndex 
)
inline
template<class _elementType >
pointer vctDynamicMatrixRefOwner< _elementType >::Pointer ( void  )
inline
template<class _elementType >
const_pointer vctDynamicMatrixRefOwner< _elementType >::Pointer ( index_type  rowIndex,
index_type  colIndex 
) const
inline
template<class _elementType >
const_pointer vctDynamicMatrixRefOwner< _elementType >::Pointer ( void  ) const
inline
template<class _elementType >
const_reverse_iterator vctDynamicMatrixRefOwner< _elementType >::rbegin ( void  ) const
inline
template<class _elementType >
reverse_iterator vctDynamicMatrixRefOwner< _elementType >::rbegin ( void  )
inline
template<class _elementType >
const_reverse_iterator vctDynamicMatrixRefOwner< _elementType >::rend ( void  ) const
inline
template<class _elementType >
reverse_iterator vctDynamicMatrixRefOwner< _elementType >::rend ( void  )
inline
template<class _elementType >
difference_type vctDynamicMatrixRefOwner< _elementType >::row_stride ( void  ) const
inline
template<class _elementType >
size_type vctDynamicMatrixRefOwner< _elementType >::rows ( void  ) const
inline
template<class _elementType >
void vctDynamicMatrixRefOwner< _elementType >::SetRef ( size_type  rows,
size_type  cols,
pointer  dataPointer,
bool  storageOrder 
)
inline
template<class _elementType >
void vctDynamicMatrixRefOwner< _elementType >::SetRef ( const nsize_type &  sizes,
pointer  dataPointer,
bool  storageOrder 
)
inline
template<class _elementType >
void vctDynamicMatrixRefOwner< _elementType >::SetRef ( size_type  rows,
size_type  cols,
stride_type  rowStride,
stride_type  colStride,
pointer  data 
)
inline
template<class _elementType >
void vctDynamicMatrixRefOwner< _elementType >::SetRef ( const nsize_type &  sizes,
stride_type  rowStride,
stride_type  colStride,
pointer  data 
)
inline
template<class _elementType >
void vctDynamicMatrixRefOwner< _elementType >::SetRef ( const nsize_type &  sizes,
const nstride_type &  strides,
pointer  data 
)
inline
template<class _elementType >
size_type vctDynamicMatrixRefOwner< _elementType >::size ( void  ) const
inline
template<class _elementType >
const nsize_type& vctDynamicMatrixRefOwner< _elementType >::sizes ( void  ) const
inline
template<class _elementType >
bool vctDynamicMatrixRefOwner< _elementType >::StorageOrder ( void  ) const
inline
template<class _elementType >
const nstride_type& vctDynamicMatrixRefOwner< _elementType >::strides ( void  ) const
inline
template<class _elementType >
void vctDynamicMatrixRefOwner< _elementType >::UpdateCachedData ( void  )
inlineprotected
template<class _elementType >
vctDynamicMatrixRefOwner< _elementType >::VCT_CONTAINER_TRAITS_TYPEDEFS ( _elementType  )
template<class _elementType >
vctDynamicMatrixRefOwner< _elementType >::VCT_NARRAY_TRAITS_TYPEDEFS ( DIMENSION  )

Member Data Documentation

template<class _elementType >
value_type* vctDynamicMatrixRefOwner< _elementType >::Data
protected
template<class _elementType >
bool vctDynamicMatrixRefOwner< _elementType >::IsCompactMember
protected
template<class _elementType >
nsize_type vctDynamicMatrixRefOwner< _elementType >::SizesMember
protected
template<class _elementType >
nstride_type vctDynamicMatrixRefOwner< _elementType >::StridesMember
protected

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