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
- Size of table
-
int NElements() const
- number of elements in all rows
-
FlatArray<T> operator[] (int i)
- Access entry
Protected Fields
-
MoveableMem<T> data
- array of data
Protected Fields
-
int size
-
int* index
MoveableMem<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
- Size of table
int NElements() const
- number of elements in all rows
FlatArray<T> operator[] (int i)
- 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++.