Public Methods
- TStaticArrayFast ()
- int LowerBound () const
- int UpperBound () const
- unsigned ArraySize () const
- int IsFull () const
- int IsEmpty () const
- unsigned GetItemsInContainer () const
- void SetData ( int loc, const T& t )
- void RemoveEntry ( int loc )
- int Add ( const T& t )
- int AddAt ( const T& t, int loc )
- int Destroy ( const T& t )
- void Destroy ( int loc )
- int HasMember ( const T& t ) const
- int Find ( const T& t ) const
- T& operator [] ( int loc )
- const T& operator [] ( int loc ) const
- void ForEach ( IterFunc iter, void *args, unsigned start=0, unsigned stop=0 )
- T * FirstThat ( CondFunc cond, void *args, unsigned start=0, unsigned stop=0 ) const
- T * LastThat ( CondFunc cond, void *args, unsigned start=0, unsigned stop=0 ) const
- void Flush ()
- void Crop (int size)
- T& ItemAt ( int loc )
- const T& ItemAt ( int loc ) const
- void CopyFrom (const TStaticArrayFast& s)
- T* AddressBase ()
- int SizeItem () const
Public Members
- typedef void (*IterFunc) (T&, void *)
- typedef int (*CondFunc) (const T&, void *)
Protected Methods
- void SqueezeEntry ( unsigned loc )
- template
int Find ( const T& t ) const
- template
void ForEach ( IterFunc iter, void *args,
unsigned start, unsigned stop )
- template
T * FirstThat ( CondFunc cond, void *args,
unsigned start, unsigned stop ) const
- template
T * LastThat ( CondFunc cond, void *args,
unsigned start, unsigned stop ) const
Protected Members
template class TStaticArrayFast
Implements a complete static array of the supplied dimension.
It can be used to minimize the heap fragmentation.
IMPORTANT NOTE: THIS ARRAY MUST BE USED ONLY WITH STRUCTURE
OR DATA THAT HAVE NOT COSTRUCTOR OR DESTRUCTOR.
Implementa un array completamente statico delle dimensioni indicate.
Da utilizzarsi per diminuire la frammentazione dell'heap.
Assumes that T has meaningful copy semantics and an appropriate == operator.
For a more exaustive description of the metods see TArray.
typedef void (*IterFunc) (T&, void *)
| (*IterFunc) |
typedef int (*CondFunc) (const T&, void *)
| (*CondFunc) |
TStaticArrayFast ()
| TStaticArrayFast |
int LowerBound ()
| LowerBound |
[const]
int UpperBound ()
| UpperBound |
[const]
unsigned ArraySize ()
| ArraySize |
[const]
[const]
[const]
unsigned GetItemsInContainer ()
| GetItemsInContainer |
[const]
void SetData ( int loc, const T& t )
| SetData |
void RemoveEntry ( int loc )
| RemoveEntry |
int Add ( const T& t )
| Add |
int AddAt ( const T& t, int loc )
| AddAt |
int Destroy ( const T& t )
| Destroy |
void Destroy ( int loc )
| Destroy |
int HasMember ( const T& t )
| HasMember |
[const]
int Find ( const T& t )
| Find |
[const]
T& operator [] ( int loc )
| operator [] |
const T& operator [] ( int loc )
| operator [] |
[const]
void ForEach ( IterFunc iter, void *args, unsigned start=0, unsigned stop=0 )
| ForEach |
T * FirstThat ( CondFunc cond, void *args, unsigned start=0, unsigned stop=0 )
| FirstThat |
[const]
T * LastThat ( CondFunc cond, void *args, unsigned start=0, unsigned stop=0 )
| LastThat |
[const]
void Crop (int size)
| Crop |
T& ItemAt ( int loc )
| ItemAt |
const T& ItemAt ( int loc )
| ItemAt |
[const]
T* AddressBase ()
| AddressBase |
[const]
void SqueezeEntry ( unsigned loc )
| SqueezeEntry |
[protected]
[protected]
[protected]
[protected]
template
int Find ( const T& t )
| Find |
[protected const]
template
void ForEach ( IterFunc iter, void *args,
unsigned start, unsigned stop )
| ForEach |
[protected]
template
T * FirstThat ( CondFunc cond, void *args,
unsigned start, unsigned stop )
| FirstThat |
[protected const]
template
T * LastThat ( CondFunc cond, void *args,
unsigned start, unsigned stop )
| LastThat |
[protected const]
Generated by: nicola on gulliver.wadahome.it on Sun May 25 13:54:34 2003, using kdoc 2.0a53. |