VectorOf< T > Class Template Reference

#include <Vector.h>

Inheritance diagram for VectorOf< T >:
Counted StreamOf< T >

List of all members.

Public Member Functions

void Append (const T &t)
void Append (const T *vt, int c)
const intC () const
void Clear ()
void EnsureSpace (int c)
T & Get (const int &n)
const T & Get (const int &n) const
 operator const T * () const
 operator T * ()
VectorOf< T > operator+ (const VectorOf< T > &vec)
VectorOf< T > & operator+= (const VectorOf< T > &vec)
VectorOfoperator= (const VectorOf &vec) __attribute__((always_inline))
T & operator[] (const int &n)
const T & operator[] (const int &n) const
void SetSize (int c)
const T * V () const
T * V ()
 VectorOf (const VectorOf &vec) __attribute__((always_inline))
 VectorOf (const T *vt, int ct) __attribute__((always_inline))
 VectorOf ()
 ~VectorOf () __attribute__((always_inline))

Protected Member Functions

void Release ()
void SetSizeUnsafe (int c)
 VectorOf (T *vt, int ct, bool bPrivate)

Protected Attributes

int m_ct
int m_ctAlloc
T * m_vt

template<class T>
class VectorOf< T >


Constructor & Destructor Documentation

template<class T>
VectorOf< T >::VectorOf ( T *  vt,
int  ct,
bool  bPrivate 
) [inline, protected]
template<class T>
VectorOf< T >::VectorOf (  )  [inline]
template<class T>
VectorOf< T >::~VectorOf (  )  [inline]
template<class T>
VectorOf< T >::VectorOf ( const T *  vt,
int  ct 
) [inline]
template<class T>
VectorOf< T >::VectorOf ( const VectorOf< T > &  vec  )  [inline]

Member Function Documentation

template<class T>
void VectorOf< T >::Append ( const T &  t  )  [inline]
template<class T>
void VectorOf< T >::Append ( const T *  vt,
int  c 
) [inline]
template<class T>
const int& VectorOf< T >::C (  )  const [inline]

Reimplemented in StreamOf< T >, and StreamOf< char >.

Referenced by SourceCombineLayoutBaseOf< DATA, 2, PRECISION, SOURCE >::AutoArrange(), SourceMaskCombineOf< TypeOfData(OPERATOR), DIMENSIONALITY, PRECISION, SOURCEMASK, SOURCECOMBINE >::CSourceCombine(), SourceCombineOf< OPERATOR::type_data, DIMENSIONALITY, PRECISION, SOURCE >::CSources(), SourceCombineLayoutBaseOf< DATA, 2, PRECISION, SOURCE >::Describe(), SourceMaskCombineOf< TypeOfData(OPERATOR), DIMENSIONALITY, PRECISION, SOURCEMASK, SOURCECOMBINE >::DescribeCommon(), SourceCombineOf< OPERATOR::type_data, DIMENSIONALITY, PRECISION, SOURCE >::DescribeCommon(), SourceCombineOf< OPERATOR::type_data, DIMENSIONALITY, PRECISION, SOURCE >::Deserialize(), VectorOf< STORAGE >::operator+(), VectorOf< STORAGE >::operator+=(), CongealGroupOf< RECIPIE >::ParameterCollect(), CongealGroupOf< RECIPIE >::ParameterDistribute(), CongealGroupPhasedOf< RECIPIE >::ParamsFromArray(), CongealGroupPhasedOf< RECIPIE >::ParamsToArray(), SourceMaskCombineOf< TypeOfData(OPERATOR), DIMENSIONALITY, PRECISION, SOURCEMASK, SOURCECOMBINE >::PrepareForAccess(), SourceCombineOf< OPERATOR::type_data, DIMENSIONALITY, PRECISION, SOURCE >::PrepareForAccess(), SourceCombineLayoutBaseOf< DATA, 2, PRECISION, SOURCE >::PrepareForAccessAction(), SourceCombineOf< OPERATOR::type_data, DIMENSIONALITY, PRECISION, SOURCE >::Serialize(), CongealGroupPhasedOf< RECIPIE >::SetUpRegistries(), StreamOf< char >::Skip(), CongealGroupOf< RECIPIE >::StatisticalCongeal(), CongealGroupPhasedOf< RECIPIE >::StatisticalPhasedCongeal(), CongealGroupOf< RECIPIE >::StatisticalPhasedCongeal(), SourceCombineOf< OPERATOR::type_data, DIMENSIONALITY, PRECISION, SOURCE >::~SourceCombineOf(), and SourceMaskCombineOf< TypeOfData(OPERATOR), DIMENSIONALITY, PRECISION, SOURCEMASK, SOURCECOMBINE >::~SourceMaskCombineOf().

template<class T>
void VectorOf< T >::Clear (  )  [inline]
template<class T>
void VectorOf< T >::EnsureSpace ( int  c  )  [inline]
template<class T>
T& VectorOf< T >::Get ( const int n  )  [inline]
template<class T>
const T& VectorOf< T >::Get ( const int n  )  const [inline]
template<class T>
VectorOf< T >::operator const T * (  )  const [inline]

Reimplemented in StreamOf< T >, and StreamOf< char >.

template<class T>
VectorOf< T >::operator T * (  )  [inline]

Reimplemented in StreamOf< T >, and StreamOf< char >.

template<class T>
VectorOf<T> VectorOf< T >::operator+ ( const VectorOf< T > &  vec  )  [inline]
template<class T>
VectorOf<T>& VectorOf< T >::operator+= ( const VectorOf< T > &  vec  )  [inline]

Reimplemented in StreamOf< T >, String, and StreamOf< char >.

template<class T>
VectorOf& VectorOf< T >::operator= ( const VectorOf< T > &  vec  )  [inline]

Reimplemented from Counted.

Reimplemented in StreamOf< T >.

Referenced by VectorOf< STORAGE >::operator=().

template<class T>
T& VectorOf< T >::operator[] ( const int n  )  [inline]
template<class T>
const T& VectorOf< T >::operator[] ( const int n  )  const [inline]
template<class T>
void VectorOf< T >::Release (  )  [inline, protected]
template<class T>
void VectorOf< T >::SetSize ( int  c  )  [inline]
template<class T>
void VectorOf< T >::SetSizeUnsafe ( int  c  )  [inline, protected]
template<class T>
const T* VectorOf< T >::V (  )  const [inline]

Reimplemented in StreamOf< T >, and StreamOf< char >.

template<class T>
T* VectorOf< T >::V (  )  [inline]

Member Data Documentation

template<class T>
int VectorOf< T >::m_ct [protected]
template<class T>
int VectorOf< T >::m_ctAlloc [protected]
template<class T>
T* VectorOf< T >::m_vt [protected]

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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1