gArray Class Reference

#include <garray.h>

Inheritance diagram for gArray:

gInt gStorage gTop List of all members.

Public Member Functions

 gArray (unsigned y=0, unsigned x=0)
 gArray (gArray &copy)
virtual ~gArray ()
virtual unsigned DimY ()
virtual unsigned DimX ()
virtual int GetNumInt (unsigned y, unsigned x)
virtual bool IsOk ()
virtual char * Str ()
virtual char * StrFormat (char *fmtOptions, char *fmtString)
virtual void Reset ()
virtual void Release ()
virtual void Resize (unsigned newY, unsigned newX)
void Zero ()
void Set (int iVal)
void Set (gVector &iVector)
virtual void TransposeMe ()
virtual gArrayTranspose ()
virtual gArrayAddRow (gVector &aV)
virtual gArrayAddEmptyRow (unsigned iter=1)
virtual gArrayAddColumn (gVector &aV)
virtual gArrayAddEmptyColumn (unsigned iter=1)
gArrayJoinArrayRight (gArray &copy, bool doForceDim=false)
gArrayJoinArrayDown (gArray &copy, bool doForceDim=false)
virtual gArrayoperator= (gArray &copy)
virtual gArrayoperator+ (gArray &copy)
virtual gArrayoperator- (gArray &copy)
virtual gArrayoperator * (gArray &copy)
virtual gArrayoperator| (gArray &copy)
virtual gVectoroperator[] (unsigned idx)
virtual bool operator== (gArray &copy)
virtual bool operator!= (gArray &copy)

Public Attributes

gString sArray

Static Public Attributes

static int defaultFmtDigits = 3

Protected Member Functions

int thisNewDim (unsigned y, unsigned x)
int thisCopyArray (gArray &copy)
char * thisFmtOptions (int nrFmtDigits, char fmtChar)

Protected Attributes

unsigned dimY
unsigned dimX
gVectorpV

Constructor & Destructor Documentation

gArray::gArray unsigned  y = 0,
unsigned  x = 0
 

Definition at line 210 of file garray.cpp.

Referenced by JoinArrayDown(), JoinArrayRight(), operator *(), operator+(), operator-(), and Transpose().

gArray::gArray gArray copy  ) 
 

Definition at line 217 of file garray.cpp.

gArray::~gArray  )  [virtual]
 

Definition at line 224 of file garray.cpp.


Member Function Documentation

gArray & gArray::AddColumn gVector aV  )  [virtual]
 

Definition at line 378 of file garray.cpp.

Referenced by AddEmptyColumn().

gArray & gArray::AddEmptyColumn unsigned  iter = 1  )  [virtual]
 

Definition at line 402 of file garray.cpp.

gArray & gArray::AddEmptyRow unsigned  iter = 1  )  [virtual]
 

Definition at line 370 of file garray.cpp.

gArray & gArray::AddRow gVector aV  )  [virtual]
 

Definition at line 354 of file garray.cpp.

Referenced by AddEmptyRow().

virtual unsigned gArray::DimX  )  [inline, virtual]
 

Definition at line 86 of file garray.h.

Referenced by JoinArrayDown(), JoinArrayRight(), operator *(), operator+(), operator-(), and operator==().

virtual unsigned gArray::DimY  )  [inline, virtual]
 

Definition at line 82 of file garray.h.

Referenced by JoinArrayDown(), JoinArrayRight(), operator *(), operator+(), operator-(), and operator==().

virtual int gArray::GetNumInt unsigned  y,
unsigned  x
[inline, virtual]
 

Definition at line 90 of file garray.h.

Referenced by AddColumn(), and JoinArrayRight().

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

Reimplemented from gStorage.

Definition at line 94 of file garray.h.

Referenced by GetNumInt(), Set(), and Str().

gArray & gArray::JoinArrayDown gArray copy,
bool  doForceDim = false
 

Definition at line 438 of file garray.cpp.

gArray & gArray::JoinArrayRight gArray copy,
bool  doForceDim = false
 

Definition at line 410 of file garray.cpp.

Referenced by operator|().

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

Definition at line 506 of file garray.cpp.

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

Definition at line 548 of file garray.cpp.

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

Definition at line 462 of file garray.cpp.

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

Definition at line 484 of file garray.cpp.

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

Definition at line 396 of file garray.cpp.

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

Definition at line 538 of file garray.cpp.

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

Definition at line 529 of file garray.cpp.

gArray & gArray::operator| gArray copy  )  [virtual]
 

Definition at line 524 of file garray.cpp.

void gArray::Release  )  [virtual]
 

Definition at line 311 of file garray.cpp.

Referenced by thisNewDim(), and ~gArray().

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

Reimplemented from gInt.

Definition at line 102 of file garray.h.

virtual void gArray::Resize unsigned  newY,
unsigned  newX
[inline, virtual]
 

Definition at line 108 of file garray.h.

Referenced by Set().

void gArray::Set gVector iVector  ) 
 

Definition at line 324 of file garray.cpp.

void gArray::Set int  iVal  ) 
 

Definition at line 317 of file garray.cpp.

Referenced by Zero().

char * gArray::Str  )  [virtual]
 

Reimplemented from gStorage.

Definition at line 229 of file garray.cpp.

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

Definition at line 243 of file garray.cpp.

int gArray::thisCopyArray gArray copy  )  [protected]
 

Definition at line 564 of file garray.cpp.

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

char * gArray::thisFmtOptions int  nrFmtDigits,
char  fmtChar
[protected]
 

Definition at line 574 of file garray.cpp.

Referenced by StrFormat().

int gArray::thisNewDim unsigned  y,
unsigned  x
[protected]
 

Definition at line 553 of file garray.cpp.

Referenced by gArray(), Resize(), and thisCopyArray().

gArray & gArray::Transpose  )  [virtual]
 

Definition at line 345 of file garray.cpp.

void gArray::TransposeMe  )  [virtual]
 

Definition at line 330 of file garray.cpp.

Referenced by Transpose().

void gArray::Zero  )  [inline]
 

Definition at line 112 of file garray.h.

Referenced by Reset().


Member Data Documentation

int gArray::defaultFmtDigits = 3 [static]
 

Definition at line 7 of file garray.cpp.

Referenced by StrFormat().

unsigned gArray::dimX [protected]
 

Definition at line 140 of file garray.h.

Referenced by AddColumn(), AddEmptyRow(), AddRow(), DimX(), JoinArrayDown(), JoinArrayRight(), operator+(), operator-(), operator==(), thisNewDim(), and TransposeMe().

unsigned gArray::dimY [protected]
 

Definition at line 140 of file garray.h.

Referenced by AddColumn(), AddEmptyColumn(), AddRow(), DimY(), GetNumInt(), JoinArrayDown(), JoinArrayRight(), operator+(), operator-(), operator==(), operator[](), Set(), Str(), StrFormat(), thisCopyArray(), thisNewDim(), and TransposeMe().

gVector* gArray::pV [protected]
 

Definition at line 141 of file garray.h.

Referenced by GetNumInt(), IsOk(), operator+(), operator-(), operator==(), operator[](), Release(), Set(), Str(), thisCopyArray(), thisNewDim(), and TransposeMe().

gString gArray::sArray
 

Definition at line 79 of file garray.h.

Referenced by Str(), StrFormat(), and thisFmtOptions().


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