tesseract::CharAltList Class Reference

#include <char_altlist.h>

Inheritance diagram for tesseract::CharAltList:
tesseract::AltList

List of all members.

Public Member Functions

 CharAltList (const CharSet *char_set, int max_alt=kMaxCharAlt)
 ~CharAltList ()
void Sort ()
bool Insert (int class_id, int cost, void *tag=NULL)
int ClassCost (int class_id) const
int Alt (int alt_idx) const
void SetAltCost (int alt_idx, int cost)

Constructor & Destructor Documentation

tesseract::CharAltList::CharAltList ( const CharSet char_set,
int  max_alt = kMaxCharAlt 
)
tesseract::CharAltList::~CharAltList (  ) 

Member Function Documentation

int tesseract::CharAltList::Alt ( int  alt_idx  )  const [inline]
int tesseract::CharAltList::ClassCost ( int  class_id  )  const [inline]
bool tesseract::CharAltList::Insert ( int  class_id,
int  cost,
void *  tag = NULL 
)
void tesseract::CharAltList::SetAltCost ( int  alt_idx,
int  cost 
) [inline]
void tesseract::CharAltList::Sort (  )  [virtual]

Implements tesseract::AltList.


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