tesseract::IndexMap Class Reference

#include <indexmapbidi.h>

Inheritance diagram for tesseract::IndexMap:
tesseract::IndexMapBiDi

List of all members.

Public Member Functions

virtual ~IndexMap ()
virtual int SparseToCompact (int sparse_index) const
int CompactToSparse (int compact_index) const
virtual int SparseSize () const
int CompactSize () const
void CopyFrom (const IndexMap &src)
void CopyFrom (const IndexMapBiDi &src)
bool Serialize (FILE *fp) const
bool DeSerialize (bool swap, FILE *fp)

Protected Attributes

int sparse_size_
GenericVector< inT32compact_map_

Constructor & Destructor Documentation

virtual tesseract::IndexMap::~IndexMap (  )  [inline, virtual]

Member Function Documentation

int tesseract::IndexMap::CompactSize (  )  const [inline]
int tesseract::IndexMap::CompactToSparse ( int  compact_index  )  const [inline]
void tesseract::IndexMap::CopyFrom ( const IndexMapBiDi src  ) 

Reimplemented in tesseract::IndexMapBiDi.

void tesseract::IndexMap::CopyFrom ( const IndexMap src  ) 
bool tesseract::IndexMap::DeSerialize ( bool  swap,
FILE *  fp 
)

Reimplemented in tesseract::IndexMapBiDi.

bool tesseract::IndexMap::Serialize ( FILE *  fp  )  const

Reimplemented in tesseract::IndexMapBiDi.

virtual int tesseract::IndexMap::SparseSize (  )  const [inline, virtual]

Reimplemented in tesseract::IndexMapBiDi.

int tesseract::IndexMap::SparseToCompact ( int  sparse_index  )  const [virtual]

Reimplemented in tesseract::IndexMapBiDi.


Member Data Documentation


The documentation for this class was generated from the following files:
Generated on Thu Feb 2 08:19:26 2012 for Tesseract by  doxygen 1.6.3