In file table.hpp:

template<class T> class Table

A compact Table container.

Documentation

A compact Table container. A table contains size entries of variable size. The entry sizes must be known at construction.

Inheritance:


Public Methods

[more] Table(int asize, int entrysize)
Construct table of uniform entrysize
[more] Table(const FlatArray<int> & entrysize)
Construct table of variable entrysize
[more] ~Table()
Delete data
[more]int Size() const
Number of entries
[more]FlatArray<T> operator[] (int i)
Access entry
[more]ConstFlatArray operator[] (int i) const
Access entry

Protected Fields

[more]T* data
array of data


Inherited from BaseTable:

Protected Fields

oint size
oint* index

oT* data
array of data

o Table(int asize, int entrysize)
Construct table of uniform entrysize

o Table(const FlatArray<int> & entrysize)
Construct table of variable entrysize

o ~Table()
Delete data

oint Size() const
Number of entries

oFlatArray<T> operator[] (int i)
Access entry

oConstFlatArray operator[] (int i) const
Access entry


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.