gVector Class Reference

#include <garray.h>

Inheritance diagram for gVector:

gInt gStorage gTop List of all members.

Public Member Functions

 gVector (unsigned nMax=0)
 gVector (gVector &copy)
virtual ~gVector ()
virtual unsigned N ()
virtual int GetNumInt (unsigned iter)
virtual bool IsOk ()
virtual char * Str ()
virtual char * StrFormat (char *fmtOptions, char *fmtString)
virtual void Reset ()
virtual void Release ()
virtual void Resize (unsigned nMax)
void Zero ()
void Set (int iVal)
gVectorSort (bool isAscending=true)
virtual gVectoroperator= (gVector &copy)
virtual gVectoroperator+ (gVector &copy)
virtual gVectoroperator- (gVector &copy)
virtual gVectoroperator * (gVector &copy)
virtual int & operator[] (unsigned idx)
virtual bool operator== (gVector &copy)
virtual bool operator!= (gVector &copy)

Public Attributes

gString sVector

Protected Attributes

unsigned n
int * v

Constructor & Destructor Documentation

gVector::gVector unsigned  nMax = 0  ) 
 

Definition at line 13 of file garray.cpp.

Referenced by operator *(), operator+(), and operator-().

gVector::gVector gVector copy  ) 
 

Definition at line 23 of file garray.cpp.

gVector::~gVector  )  [virtual]
 

Definition at line 33 of file garray.cpp.


Member Function Documentation

virtual int gVector::GetNumInt unsigned  iter  )  [inline, virtual]
 

Definition at line 29 of file garray.h.

Referenced by gVector(), operator=(), and operator==().

virtual bool gVector::IsOk  )  [inline, virtual]
 

Reimplemented from gStorage.

Definition at line 33 of file garray.h.

Referenced by GetNumInt().

virtual unsigned gVector::N  )  [inline, virtual]
 

Definition at line 25 of file garray.h.

Referenced by gArray::AddColumn(), and operator==().

gVector & gVector::operator * gVector copy  )  [virtual]
 

Definition at line 167 of file garray.cpp.

bool gVector::operator!= gVector copy  )  [virtual]
 

Definition at line 205 of file garray.cpp.

gVector & gVector::operator+ gVector copy  )  [virtual]
 

Definition at line 135 of file garray.cpp.

gVector & gVector::operator- gVector copy  )  [virtual]
 

Definition at line 151 of file garray.cpp.

gVector & gVector::operator= gVector copy  )  [virtual]
 

Definition at line 123 of file garray.cpp.

bool gVector::operator== gVector copy  )  [virtual]
 

Definition at line 195 of file garray.cpp.

int & gVector::operator[] unsigned  idx  )  [virtual]
 

Definition at line 188 of file garray.cpp.

void gVector::Release  )  [virtual]
 

Definition at line 65 of file garray.cpp.

Referenced by operator=(), Resize(), and ~gVector().

virtual void gVector::Reset  )  [inline, virtual]
 

Reimplemented from gInt.

Definition at line 41 of file garray.h.

void gVector::Resize unsigned  nMax  )  [virtual]
 

Definition at line 71 of file garray.cpp.

Referenced by gArray::thisNewDim().

void gVector::Set int  iVal  ) 
 

Definition at line 85 of file garray.cpp.

Referenced by gArray::Set(), Sort(), and Zero().

gVector & gVector::Sort bool  isAscending = true  ) 
 

Definition at line 91 of file garray.cpp.

char * gVector::Str  )  [virtual]
 

Reimplemented from gStorage.

Definition at line 38 of file garray.cpp.

char * gVector::StrFormat char *  fmtOptions,
char *  fmtString
[virtual]
 

Definition at line 44 of file garray.cpp.

Referenced by Str().

void gVector::Zero  )  [inline]
 

Definition at line 49 of file garray.h.

Referenced by gVector(), and Reset().


Member Data Documentation

unsigned gVector::n [protected]
 

Definition at line 67 of file garray.h.

Referenced by GetNumInt(), gVector(), N(), operator *(), operator+(), operator-(), operator=(), operator==(), operator[](), Resize(), Set(), Sort(), and StrFormat().

gString gVector::sVector
 

Definition at line 22 of file garray.h.

Referenced by StrFormat().

int* gVector::v [protected]
 

Definition at line 68 of file garray.h.

Referenced by GetNumInt(), gVector(), IsOk(), operator *(), operator+(), operator-(), operator=(), operator==(), operator[](), Release(), Resize(), Set(), Sort(), and StrFormat().


The documentation for this class was generated from the following files:
Generated on Sat Aug 18 02:41:23 2007 for xpfweb_v2x lib by  doxygen 1.4.2