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
-
Table(int asize, int entrysize)
- Construct table of uniform entrysize
-
Table(const FlatArray<int> & entrysize)
- Construct table of variable entrysize
-
~Table()
- Delete data
-
int Size() const
- Number of entries
-
FlatArray<T> operator[] (int i)
- Access entry
-
ConstFlatArray operator[] (int i) const
- Access entry
Protected Fields
-
T* data
- array of data
Protected Fields
-
int size
-
int* index
T* data
- array of data
Table(int asize, int entrysize)
- Construct table of uniform entrysize
Table(const FlatArray<int> & entrysize)
- Construct table of variable entrysize
~Table()
- Delete data
int Size() const
- Number of entries
FlatArray<T> operator[] (int i)
- Access entry
ConstFlatArray 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++.