Array< DATA > Class Template Reference

Inheritance diagram for Array< DATA >:

SystemCode List of all members.

Public Member Functions

void ctor ()
 Array ()
 Array (uint32 size)
 ~Array ()
void ReAlloc (uint32 size)
DATA & Insert (DATA x, BOOL _inc=TRUE)
DATA & Insert (DATA *x, BOOL _inc=TRUE)
DATA & Insert ()
BOOL Delete ()
BOOL Set (DATA x, BOOL _inc=TRUE)
BOOL Set (DATA *x, BOOL _inc=TRUE)
BOOL Get (DATA &x, BOOL _inc=TRUE)
BOOL Get (DATA *&x, BOOL _inc=TRUE)
int Find (DATA x)
int Find (DATA *x)
void Sort (BOOL asc=TRUE)
BOOL Seek (int32 Offset, int fromwhere)
DATA & operator[] (int)
DATA & operator= (DATA)
void SetGranularity (uint32 size)

Public Attributes

uint32 flgs
uint32 Count
uint32 Offset
BOOL Eol

Detailed Description

template<class DATA>
class Array< DATA >

Definition at line 9 of file array.hpp.


Constructor & Destructor Documentation

template<class DATA>
Array< DATA >::Array ( uint32  size  ) 

Definition at line 77 of file array.hpp.

References Array< DATA >::Count, Array< DATA >::ctor(), and Array< DATA >::Eol.

00077                               {
00078   ctor();
00079   if (!size) return;
00080   Count = size;
00081   Eol = FALSE;  
00082   Data = (DATA*) SystemCode::MemAlloc(size * sizeof(DATA));  //Note:G=1
00083 }


The documentation for this class was generated from the following file:
Generated on Mon Mar 5 09:49:14 2007 for DigiForce by  doxygen 1.4.7