22 #ifndef _vctDynamicConstVectorRef_h 
   23 #define _vctDynamicConstVectorRef_h 
   78 template <
class _elementType>
 
  117     template <
size_type __size, str
ide_type __str
ide, 
class __dataPtrType>
 
  129     template <
size_type __size, str
ide_type __str
ide, 
class __dataPtrType>
 
  133         SetRef(otherVector, startPosition, length);
 
  139     template <
class __vectorOwnerType>
 
  149     template <
class __vectorOwnerType>
 
  153         SetRef(otherVector, startPosition, length);
 
  164     template <
size_type __size, str
ide_type __str
ide, 
class __dataPtrType>
 
  176     template <
size_type __size, str
ide_type __str
ide, 
class __dataPtrType>
 
  180         if (startPosition + length > otherVector.size()) {
 
  181             cmnThrow(std::out_of_range(
"vctDynamicConstVectorRef SetRef out of range"));
 
  183         SetRef(length, otherVector.Pointer(startPosition), otherVector.stride());
 
  190     template <
class __vectorOwnerType>
 
  202     template <
class __vectorOwnerType>
 
  206         if (startPosition + length > otherVector.size()) {
 
  207             cmnThrow(std::out_of_range(
"vctDynamicConstVectorRef SetRef out of range"));
 
  209         SetRef(length, otherVector.Pointer(startPosition), otherVector.stride());
 
  215 #endif // _vctDynamicConstVectorRef_h 
void SetRef(size_type size, value_type *data, stride_type stride=1)
Definition: vctDynamicVectorRefOwner.h:67
 
OwnerType Vector
Definition: vctDynamicConstVectorBase.h:126
 
A vector object of dynamic size. 
Definition: vctDynamicVector.h:127
 
Dynamic vector referencing existing memory (const) 
Definition: vctDynamicConstVectorRef.h:79
 
vctDynamicConstVectorBase< vctDynamicVectorRefOwner< value_type >, _elementType > BaseType
Definition: vctDynamicConstVectorRef.h:86
 
void SetRef(const vctDynamicConstVectorBase< __vectorOwnerType, _elementType > &otherVector)
Definition: vctDynamicConstVectorRef.h:191
 
size_t size_type
Definition: vctContainerTraits.h:35
 
void SetRef(const vctFixedSizeConstVectorBase< __size, __stride, _elementType, __dataPtrType > &otherVector)
Definition: vctDynamicConstVectorRef.h:165
 
size_type size(void) const 
Definition: vctDynamicConstVectorBase.h:164
 
VectorOwnerType::const_iterator const_iterator
Definition: vctDynamicConstVectorRef.h:89
 
VectorOwnerType::const_reverse_iterator const_reverse_iterator
Definition: vctDynamicConstVectorRef.h:91
 
difference_type stride(void) const 
Definition: vctFixedSizeConstVectorBase.h:218
 
VectorOwnerType::reverse_iterator reverse_iterator
Definition: vctDynamicConstVectorRef.h:90
 
vctDynamicConstVectorRef(const ThisType &other)
Definition: vctDynamicConstVectorRef.h:98
 
size_type size(void) const 
Definition: vctFixedSizeConstVectorBase.h:205
 
void SetRef(size_type size, const_pointer p, stride_type stride=1)
Definition: vctDynamicConstVectorRef.h:156
 
const_pointer Pointer(size_type index=0) const 
Definition: vctFixedSizeConstVectorBase.h:268
 
difference_type stride() const 
Definition: vctDynamicConstVectorBase.h:169
 
#define cmnThrow(a)
Definition: MinimalCmn.h:4
 
vctDynamicConstVectorRef(const vctDynamicConstVectorBase< __vectorOwnerType, _elementType > &otherVector, size_type startPosition, size_type length)
Definition: vctDynamicConstVectorRef.h:150
 
const_pointer Pointer(index_type index=0) const 
Definition: vctDynamicConstVectorBase.h:221
 
vctDynamicConstVectorRef(const vctDynamicConstVectorBase< __vectorOwnerType, _elementType > &otherVector)
Definition: vctDynamicConstVectorRef.h:140
 
Definition: vctDynamicVectorRefOwner.h:39
 
Declaration of vctDynamicConstVectorBase. 
 
ptrdiff_t stride_type
Definition: vctContainerTraits.h:37
 
vctDynamicVectorRefOwner< value_type > VectorOwnerType
Definition: vctDynamicConstVectorRef.h:85
 
vctDynamicConstVectorRef(const vctFixedSizeConstVectorBase< __size, __stride, _elementType, __dataPtrType > &otherVector, size_type startPosition, size_type length)
Definition: vctDynamicConstVectorRef.h:130
 
Definition: vctVarStrideVectorIterator.h:222
 
BaseType::CopyType CopyType
Definition: vctDynamicConstVectorRef.h:87
 
Definition: vctDynamicConstVectorBase.h:77
 
A template for a fixed length vector with fixed spacing in memory. 
Definition: vctFixedSizeConstVectorBase.h:107
 
vctDynamicConstVectorRef(const vctFixedSizeConstVectorBase< __size, __stride, _elementType, __dataPtrType > &otherVector)
Definition: vctDynamicConstVectorRef.h:118
 
VCT_CONTAINER_TRAITS_TYPEDEFS(_elementType)
 
vctDynamicConstVectorRef(size_type size, const_pointer data, stride_type stride=1)
Definition: vctDynamicConstVectorRef.h:108
 
vctDynamicConstVectorRef(size_type size, pointer data, stride_type stride=1)
Definition: vctDynamicConstVectorRef.h:104
 
VectorOwnerType::iterator iterator
Definition: vctDynamicConstVectorRef.h:88
 
void SetRef(const vctFixedSizeConstVectorBase< __size, __stride, _elementType, __dataPtrType > &otherVector, size_type startPosition, size_type length)
Definition: vctDynamicConstVectorRef.h:177
 
vctDynamicConstVectorRef< value_type > ThisType
Definition: vctDynamicConstVectorRef.h:84
 
Definition: vctVarStrideVectorIterator.h:56
 
vctDynamicConstVectorRef()
Definition: vctDynamicConstVectorRef.h:94
 
Declaration of vctDynamicVectorRefOwner. 
 
void SetRef(const vctDynamicConstVectorBase< __vectorOwnerType, _elementType > &otherVector, size_type startPosition, size_type length)
Definition: vctDynamicConstVectorRef.h:203