Tesseract 3.01
GENERIC_2D_ARRAY< T > Class Template Reference

#include <matrix.h>

Inheritance diagram for GENERIC_2D_ARRAY< T >:
GENERIC_MATRIX< T >

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)
get (int column, int row) const
const T & operator() (int column, int row) const
T & operator() (int column, int row)
void delete_matrix_pointers ()

template<class T>
class GENERIC_2D_ARRAY< T >


Constructor & Destructor Documentation

template<class T>
GENERIC_2D_ARRAY< T >::GENERIC_2D_ARRAY ( int  dim1,
int  dim2,
const T &  empty 
) [inline]
template<class T>
GENERIC_2D_ARRAY< T >::~GENERIC_2D_ARRAY ( ) [inline]

Member Function Documentation

template<class T>
void GENERIC_2D_ARRAY< T >::delete_matrix_pointers ( ) [inline]
template<class T>
bool GENERIC_2D_ARRAY< T >::DeSerialize ( bool  swap,
FILE *  fp 
) [inline]
template<class T>
bool GENERIC_2D_ARRAY< T >::DeSerializeClasses ( bool  swap,
FILE *  fp 
) [inline]
template<class T>
int GENERIC_2D_ARRAY< T >::dim1 ( ) const [inline]
template<class T>
int GENERIC_2D_ARRAY< T >::dim2 ( ) const [inline]
template<class T>
T GENERIC_2D_ARRAY< T >::get ( int  column,
int  row 
) const [inline]
template<class T>
int GENERIC_2D_ARRAY< T >::index ( int  column,
int  row 
) const [inline]
template<class T>
const T& GENERIC_2D_ARRAY< T >::operator() ( int  column,
int  row 
) const [inline]
template<class T>
T& GENERIC_2D_ARRAY< T >::operator() ( int  column,
int  row 
) [inline]
template<class T>
void GENERIC_2D_ARRAY< T >::put ( int  column,
int  row,
const T &  thing 
) [inline]
template<class T>
bool GENERIC_2D_ARRAY< T >::Serialize ( FILE *  fp) const [inline]
template<class T>
bool GENERIC_2D_ARRAY< T >::SerializeClasses ( FILE *  fp) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines