dynamic_array< T > Class Template Reference

DEPRECATED Use containers of the C++ Standard Template Library instead! Container for managing objects of type T. More...

#include <basestrm.h>

Inheritance diagram for dynamic_array< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 dynamic_array (void)
 dynamic_array (int sze)
virtual ~dynamic_array ()
T & operator[] (int a)
int getlength (void)
void reset (void)

Protected Member Functions

virtual void resize (int newsize)

Protected Attributes

int blksize
int size
T * buf
int maxaccessed

Detailed Description

template<class T>
class dynamic_array< T >

DEPRECATED Use containers of the C++ Standard Template Library instead! Container for managing objects of type T.

Definition at line 121 of file basestrm.h.


Constructor & Destructor Documentation

template<class T>
dynamic_array< T >::dynamic_array ( void   ) 

Definition at line 124 of file basetemp.h.

References dynamic_array< T >::blksize, dynamic_array< T >::buf, dynamic_array< T >::maxaccessed, and dynamic_array< T >::size.

template<class T>
dynamic_array< T >::dynamic_array ( int  sze  ) 

Definition at line 132 of file basetemp.h.

References dynamic_array< T >::blksize, dynamic_array< T >::buf, dynamic_array< T >::maxaccessed, and dynamic_array< T >::size.

template<class T>
dynamic_array< T >::~dynamic_array (  )  [virtual]

Definition at line 177 of file basetemp.h.

References dynamic_array< T >::buf.


Member Function Documentation

template<class T>
void dynamic_array< T >::resize ( int  newsize  )  [protected, virtual]

Definition at line 147 of file basetemp.h.

References dynamic_array< T >::buf, and dynamic_array< T >::size.

Referenced by dynamic_array< T >::operator[]().

template<class T>
T & dynamic_array< T >::operator[] ( int  a  ) 

Definition at line 165 of file basetemp.h.

References dynamic_array< T >::blksize, dynamic_array< T >::buf, dynamic_array< T >::maxaccessed, dynamic_array< T >::resize(), and dynamic_array< T >::size.

template<class T>
int dynamic_array< T >::getlength ( void   ) 

Definition at line 183 of file basetemp.h.

References dynamic_array< T >::maxaccessed.

template<class T>
void dynamic_array< T >::reset ( void   ) 

Definition at line 141 of file basetemp.h.

References dynamic_array< T >::maxaccessed.


Member Data Documentation

template<class T>
int dynamic_array< T >::blksize [protected]

Definition at line 123 of file basestrm.h.

Referenced by dynamic_array< T >::dynamic_array(), and dynamic_array< T >::operator[]().

template<class T>
int dynamic_array< T >::size [protected]

Definition at line 124 of file basestrm.h.

Referenced by dynamic_array< T >::dynamic_array(), dynamic_array< T >::operator[](), and dynamic_array< T >::resize().

template<class T>
T* dynamic_array< T >::buf [protected]

Definition at line 125 of file basestrm.h.

Referenced by dynamic_array< T >::dynamic_array(), dynamic_array< T >::operator[](), dynamic_array< T >::resize(), and dynamic_array< T >::~dynamic_array().

template<class T>
int dynamic_array< T >::maxaccessed [protected]

Definition at line 127 of file basestrm.h.

Referenced by dynamic_array< T >::dynamic_array(), dynamic_array< T >::getlength(), dynamic_array< T >::operator[](), and dynamic_array< T >::reset().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:46:40 2012 for Advanced Strategic Command by  doxygen 1.5.1