BLOB_CHOICE Class Reference

#include <ratngs.h>

Inheritance diagram for BLOB_CHOICE:

ELIST_LINK List of all members.

Detailed Description

Holds ratings on confidence for character in a blob.

Definition at line 31 of file ratngs.h.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

BLOB_CHOICE::BLOB_CHOICE (  )  [inline]

Definition at line 34 of file ratngs.h.

00034                   {  //empty
00035     }

BLOB_CHOICE::BLOB_CHOICE ( char  src_class,
float  src_rating,
float  src_cert,
INT8  src_config 
)

Constructor to build a BLOB_CHOICE from a char, rating and certainty.

Definition at line 36 of file ratngs.cpp.

00041                           {
00042   blob_class = src_class;
00043   blob_rating = src_rating;
00044   blob_certainty = src_cert;     //just copy them
00045   blob_config = src_config;
00046 }


Member Function Documentation

float BLOB_CHOICE::certainty (  )  const [inline]

Definition at line 65 of file ratngs.h.

References blob_certainty.

Referenced by call_matcher(), and choice_dump_tester().

00065                             {  //access function
00066       return blob_certainty;
00067     }

char BLOB_CHOICE::char_class (  )  const [inline]

Definition at line 59 of file ratngs.h.

References blob_class.

Referenced by call_matcher(), and choice_dump_tester().

00059                             {  //access function
00060       return blob_class;
00061     }

INT8 BLOB_CHOICE::config (  )  const [inline]

Definition at line 68 of file ratngs.h.

References blob_config.

Referenced by call_matcher().

00068                         {  //access function
00069       return blob_config;
00070     }

void ELIST_LINK::de_serialise_asc ( FILE *  f  )  [inherited]

Reimplemented in ICOORDELT.

Definition at line 39 of file elst.cpp.

References ABORT, ERRCODE::error(), and SERIALISE_LINKS.

00040                                            {
00041   SERIALISE_LINKS.error ("ELIST_LINK::de_serialise_asc", ABORT,
00042     "Don't call this, override!");
00043 }

float BLOB_CHOICE::rating (  )  const [inline]

Definition at line 62 of file ratngs.h.

References blob_rating.

Referenced by call_matcher(), and choice_dump_tester().

00062                          {  //access function
00063       return blob_rating;
00064     }

void ELIST_LINK::serialise_asc ( FILE *  f  )  [inherited]

Generates an error, as it should never be called.

Definition at line 32 of file elst.cpp.

References ABORT, ERRCODE::error(), and SERIALISE_LINKS.

00033                                         {
00034   SERIALISE_LINKS.error ("ELIST_LINK::serialise_asc", ABORT,
00035     "Don't call this, override!");
00036 }

void BLOB_CHOICE::set_certainty ( float  newrat  )  [inline]

Definition at line 50 of file ratngs.h.

References blob_certainty.

00051                                      {
00052       blob_certainty = newrat;
00053     }

void BLOB_CHOICE::set_class ( char  newchar  )  [inline]

Definition at line 42 of file ratngs.h.

References blob_class.

00043                                  {
00044       blob_class = newchar;
00045     }

void BLOB_CHOICE::set_config ( INT8  newfont  )  [inline]

Definition at line 54 of file ratngs.h.

References blob_config.

00055                                   {
00056       blob_config = newfont;
00057     }

void BLOB_CHOICE::set_rating ( float  newrat  )  [inline]

Definition at line 46 of file ratngs.h.

References blob_rating.

00047                                   {
00048       blob_rating = newrat;
00049     }


Member Data Documentation

float BLOB_CHOICE::blob_certainty [private]

Definition at line 77 of file ratngs.h.

Referenced by certainty(), and set_certainty().

char BLOB_CHOICE::blob_class [private]

Definition at line 73 of file ratngs.h.

Referenced by char_class(), and set_class().

char BLOB_CHOICE::blob_config [private]

Definition at line 74 of file ratngs.h.

Referenced by config(), and set_config().

float BLOB_CHOICE::blob_rating [private]

Definition at line 76 of file ratngs.h.

Referenced by rating(), and set_rating().

INT16 BLOB_CHOICE::junk2 [private]

Definition at line 75 of file ratngs.h.


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 19:49:30 2007 for Tesseract by  doxygen 1.5.1