TCollection Class Reference

[tvision Index] [tvision Hierarchy] [Headers]


A streamable collection of objects More...

#include <objects.h>

Inherits: TNSCollection, TStreamable

Public Members

Protected Members


Detailed Description

A streamable collection of objects.

This class stores an array of pointers to generic objects. This array may grow or shrink at run-time. Note: type `ccIndex' is defined in file `ttypes.h' as `int'.

See Also: TNSCollection


TCollection( ccIndex aLimit, ccIndex aDelta ) [public]

Constructor.

`aLimit' is the initial size of the array of pointers. `aDelta' is used every time the array must be enlarged. In this case a number of `aDelta' pointers will be added to the array.

TCollection( StreamableInit ) [protected]

Constructor.

Used to recover the object from a stream.

void* read( ipstream& is) [protected virtual]

Used to recover the object from a stream.

void write( opstream& os ) [protected virtual]

Used to store the object in a stream.


Documentation generated by sergio@athena.milk.it on Wed Feb 10 22:11:47 CET 1999
Kdoc