class TArrayAsVectorImp

[INTERNAL USE ONLY] More...

Definition#include <classlib/include/classlib/arrays.h>
Template formTArrayAsVectorImp<class Vect, class T>
Inherited byTArray, TArrayAsVector, TDArrayAsVectorImp, TIArray, TIArrayAsVector, TIArrayAsVectorImp, TISArray, TISArrayAsVector, TMArrayAsVector, TMIArrayAsVector, TMISArrayAsVector, TMSArrayAsVector, TSArray, TSArrayAsVector
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

[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]

int  IsFull ()

IsFull

[const]

int  IsEmpty ()

IsEmpty

[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

const TArrayAsVectorImp&  Copy (TArrayAsVectorImp& v)

Copy

copy elements from another array

Vect Data

Data

int Lowerbound

Lowerbound


Generated by: nicola on gulliver.wadahome.it on Sun May 25 13:54:34 2003, using kdoc 2.0a53.