class TArrayAsVectorImp
|
[INTERNAL USE ONLY]
More... |
Definition | #include <classlib/include/classlib/arrays.h> |
Template form | TArrayAsVectorImp<class Vect, class T> |
Inherited by | TArray, TArrayAsVector, TDArrayAsVectorImp, TIArray, TIArrayAsVector, TIArrayAsVectorImp, TISArray, TISArrayAsVector, TMArrayAsVector, TMIArrayAsVector, TMISArrayAsVector, TMSArrayAsVector, TSArray, TSArrayAsVector |
List of all Methods |
|
|
Public Methods
Public Members
[INTERNAL USE ONLY]
template class TArrayAsVectorImp
Implements the type-independent array operations, using a vector
as the underlying implementation. The type Vect specifies the
form of the vector, either a TCVectorImp, a TSVectorImp, a
TICVectorImp, or a TISVectorImp. The type T specifies the
type of the objects to be put in the array. When using
TCVectorImp or a TSVectorImp T should be the same as T0. When
using TICVectorImp or TISVectorImp T should be of type
pointer to T0. See TArrayAsVector and
TIArrayAsVector for examples.
TArrayAsVectorImp ( int upper, int lower, int delta )
| TArrayAsVectorImp |
int LowerBound ()
| LowerBound |
[const]
int UpperBound ()
| UpperBound |
[const]
unsigned ArraySize ()
| ArraySize |
[const]
[const]
[const]
unsigned GetItemsInContainer ()
| GetItemsInContainer |
[const]
void Reallocate ( unsigned sz, unsigned offset = 0 )
| Reallocate |
void SetData ( int loc, const T& t )
| SetData |
void RemoveEntry ( int loc )
| RemoveEntry |
void SqueezeEntry ( unsigned loc )
| SqueezeEntry |
unsigned ZeroBase ( int loc )
| ZeroBase |
[const]
int BoundBase ( unsigned loc )
| BoundBase |
[const]
void Grow ( int loc )
| Grow |
copy elements from another array
int Lowerbound
| Lowerbound |
Generated by: nicola on gulliver.wadahome.it on Sun May 25 13:54:34 2003, using kdoc 2.0a53. |