Tesseract
3.02
|
Public Member Functions | |
TESS_CHAR (float _cost, const char *repr, int len=-1) | |
TESS_CHAR () | |
~TESS_CHAR () | |
Public Attributes | |
char * | unicode_repr |
int | length |
float | cost |
TBOX | box |
Definition at line 1941 of file baseapi.cpp.
tesseract::TESS_CHAR::TESS_CHAR | ( | float | _cost, |
const char * | repr, | ||
int | len = -1 |
||
) | [inline] |
Definition at line 1947 of file baseapi.cpp.
: cost(_cost) { length = (len == -1 ? strlen(repr) : len); unicode_repr = new char[length + 1]; strncpy(unicode_repr, repr, length); }
tesseract::TESS_CHAR::TESS_CHAR | ( | ) | [inline] |
Definition at line 1953 of file baseapi.cpp.
{ // Satisfies ELISTIZE.
}
tesseract::TESS_CHAR::~TESS_CHAR | ( | ) | [inline] |
Definition at line 1955 of file baseapi.cpp.
{ delete [] unicode_repr; }
Definition at line 1945 of file baseapi.cpp.
Definition at line 1944 of file baseapi.cpp.
Definition at line 1943 of file baseapi.cpp.
Definition at line 1942 of file baseapi.cpp.