Logo Search packages:      
Sourcecode: ddd version File versions  Download package

Public Member Functions | Protected Member Functions | Private Attributes

VarArray< T > Class Template Reference

Inheritance diagram for VarArray< T >:
Inheritance graph
Collaboration diagram for VarArray< T >:
Collaboration graph

List of all members.

Public Member Functions

bool operator!= (const DynArray< T > &m) const
void operator+= (const T &value)
void operator-= (const T &value)
VarArray< T > & operator= (const VarArray< T > &m)
bool operator== (const DynArray< T > &m) const
const T & operator[] (int i) const
T & operator[] (int i)
virtual int size () const
T * values ()
const T * values () const
 VarArray (const VarArray< T > &m)
 VarArray (int initial_size=0)
 VarArray (T *v, int n)

Protected Member Functions

virtual void _remove (int n)
const T & _value (int i) const
T & _value (int i)
virtual void add (const T &v)
virtual void remove (const T &v)
T & value (int i)

Private Attributes

int _size

Detailed Description

template<class T>
class VarArray< T >

Definition at line 40 of file VarArray.h.

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

Generated by  Doxygen 1.6.0   Back to index