GENERIC_2D_ARRAY< T > Class Template Reference
#include <matrix.h>
List of all members.
Public Member Functions |
| | GENERIC_2D_ARRAY (int dim1, int dim2, const T &empty) |
| | ~GENERIC_2D_ARRAY () |
| bool | Serialize (FILE *fp) const |
| bool | DeSerialize (bool swap, FILE *fp) |
| bool | SerializeClasses (FILE *fp) const |
| bool | DeSerializeClasses (bool swap, FILE *fp) |
| int | dim1 () const |
| int | dim2 () const |
| int | index (int column, int row) const |
| void | put (int column, int row, const T &thing) |
| T | get (int column, int row) const |
| const T & | operator() (int column, int row) const |
| T & | operator() (int column, int row) |
| T * | operator[] (int column) |
| void | delete_matrix_pointers () |
template<class T>
class GENERIC_2D_ARRAY< T >
Constructor & Destructor Documentation
Member Function Documentation
template<class T>
| bool GENERIC_2D_ARRAY< T >::DeSerializeClasses |
( |
bool |
swap, |
|
|
FILE * |
fp | |
|
) |
| | [inline] |
template<class T>
| const T& GENERIC_2D_ARRAY< T >::operator() |
( |
int |
column, |
|
|
int |
row | |
|
) |
| | const [inline] |
template<class T>
| void GENERIC_2D_ARRAY< T >::put |
( |
int |
column, |
|
|
int |
row, |
|
|
const T & |
thing | |
|
) |
| | [inline] |
The documentation for this class was generated from the following file:
- /home/rays/src/opensrc/tesseract-ocr/ccstruct/matrix.h