Advanced Strategic Command
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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]

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.

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

Definition at line 132 of file basetemp.h.

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

Definition at line 177 of file basetemp.h.

Member Function Documentation

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

Definition at line 183 of file basetemp.h.

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

Definition at line 165 of file basetemp.h.

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

Definition at line 141 of file basetemp.h.

template<class T >
void dynamic_array< T >::resize ( int  newsize)
protectedvirtual

Definition at line 147 of file basetemp.h.

Member Data Documentation

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

Definition at line 123 of file basestrm.h.

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

Definition at line 125 of file basestrm.h.

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

Definition at line 127 of file basestrm.h.

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

Definition at line 124 of file basestrm.h.


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