vms::array< T > Struct Template Reference

#include <array.h>

List of all members.

Public Member Functions

 array (int nInitialSize=0)
 ~array ()
 array (const array &a)
 operator T * ()
void put_Data (const T *const p, int len)
arrayoperator= (const array &a)
arrayoperator+= (const array &a)
void add (const T *const p, int len)
T & operator[] (int nIndex)
void realloc (int nNewLen)
void clear ()
int length ()
int capacity ()

Protected Member Functions

void construct_init_object ()

Protected Attributes

T * m_p
int m_size
int m_len
int m_grow


Detailed Description

template<class T>
struct vms::array< T >

Definition at line 12 of file array.h.


Constructor & Destructor Documentation

template<class T>
vms::array< T >::array ( int  nInitialSize = 0  )  [inline]

Definition at line 14 of file array.h.

template<class T>
vms::array< T >::~array (  )  [inline]

Definition at line 19 of file array.h.

template<class T>
vms::array< T >::array ( const array< T > &  a  )  [inline]

Definition at line 21 of file array.h.


Member Function Documentation

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

Definition at line 26 of file array.h.

template<class T>
void vms::array< T >::put_Data ( const T *const   p,
int  len 
) [inline]

Definition at line 28 of file array.h.

Referenced by vms::array< unsigned char >::operator=().

template<class T>
array& vms::array< T >::operator= ( const array< T > &  a  )  [inline]

Definition at line 35 of file array.h.

Referenced by vms::array< unsigned char >::array().

template<class T>
array& vms::array< T >::operator+= ( const array< T > &  a  )  [inline]

Definition at line 40 of file array.h.

template<class T>
void vms::array< T >::add ( const T *const   p,
int  len 
) [inline]

Definition at line 42 of file array.h.

template<class T>
T& vms::array< T >::operator[] ( int  nIndex  )  [inline]

Definition at line 48 of file array.h.

template<class T>
void vms::array< T >::realloc ( int  nNewLen  )  [inline]

template<class T>
void vms::array< T >::clear (  )  [inline]

Definition at line 73 of file array.h.

template<class T>
int vms::array< T >::length (  )  [inline]

Definition at line 75 of file array.h.

template<class T>
int vms::array< T >::capacity (  )  [inline]

Definition at line 76 of file array.h.

template<class T>
void vms::array< T >::construct_init_object (  )  [inline, protected]

Definition at line 79 of file array.h.

Referenced by vms::array< unsigned char >::array().


Member Data Documentation

template<class T>
T* vms::array< T >::m_p [protected]

template<class T>
int vms::array< T >::m_size [protected]

template<class T>
int vms::array< T >::m_len [protected]

template<class T>
int vms::array< T >::m_grow [protected]

Definition at line 87 of file array.h.

Referenced by vms::array< unsigned char >::construct_init_object().


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

Generated on Sun May 25 00:21:49 2008 by  doxygen 1.5.6