golib  0.5
goNVector< T > Class Template Reference

Public Member Functions

 goNVector (goUInt32 n)
 
void setVectorPtr (T *ptr)
 
void setSize (int sz)
 
goNVector< T > & operator+= (goNVector< T > &other)
 
goNVector< T > & operator-= (goNVector< T > &other)
 
abs ()
 
- Public Member Functions inherited from goArray< T >
 goArray (goSize_t s)
 
 goArray (const goArray< T > &other)
 
goIndex_t resize (goIndex_t size)
 
void sort ()
 
void quickSort (goIndex_t, goIndex_t)
 
void sort (goArray< int > &indexArray)
 
void sort (goArray< goSize_t > &indexArray)
 
void sort (goArray< void * > &indexArrays)
 
void quickSort (goIndex_t, goIndex_t, goArray< int > &indexArray)
 
void quickSort (goIndex_t, goIndex_t, goArray< goSize_t > &indexArray)
 
void quickSort (goIndex_t, goIndex_t, goArray< void * > &indexArrays)
 
void byteFill (int f)
 
void fill (T value)
 
void remove (goIndex_t index)
 
goIndex_t getSize () const
 
goIndex_t dim () const
 
T * getPtr ()
 
const T * getPtr () const
 
T & operator[] (goIndex_t idx)
 
const T & operator[] (goIndex_t idx) const
 
goArray< T > & operator= (const goArray< T > &other)
 
goArray< T > & operator+= (T item)
 Resizes the array and adds {\bf item} at the end of it.
 
bool operator== (const goArray< T > &other)
 
bool operator!= (const goArray< T > &other)
 

Protected Attributes

bool delete_vector
 
absValue
 
bool absValid
 
- Protected Attributes inherited from goArray< T >
T * Array
 
goIndex_t arraySize
 

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