Util::FixedTable< TYPE > Class Template Reference
#include <fixedtable.h>
Detailed Description
template<class TYPE>
class Util::FixedTable< TYPE >
A fixed-size 2-dimensional array.(C) 2006 Radon Labs GmbH
Public Member Functions | |
FixedTable () | |
default constructor | |
FixedTable (SizeT w, SizeT h) | |
constructor with size | |
FixedTable (SizeT w, SizeT h, const TYPE &val) | |
constructor with size and initialized contents | |
FixedTable (const FixedTable< TYPE > &rhs) | |
copy constructor | |
~FixedTable () | |
destructor | |
void | operator= (const FixedTable< TYPE > &rhs) |
assignment operator | |
bool | operator== (const FixedTable< TYPE > &rhs) const |
equality operator | |
bool | operator!= (const FixedTable< TYPE > &rhs) const |
inequality operator | |
void | SetSize (SizeT w, SizeT h) |
set width and height (clears existing content) | |
SizeT | Width () const |
get width | |
SizeT | Height () const |
get height | |
void | Clear (const TYPE &val) |
clear the table with value | |
void | Set (IndexT x, IndexT y, const TYPE &val) |
set value at [x,y] position | |
TYPE & | At (IndexT x, IndexT y) const |
access value at [x,y] position |