|
tesseract
3.05.00
|
#include <strngs.h>
Public Member Functions | |
| STRING () | |
| STRING (const STRING &string) | |
| STRING (const char *string) | |
| STRING (const char *data, int length) | |
| ~STRING () | |
| bool | Serialize (FILE *fp) const |
| bool | DeSerialize (bool swap, FILE *fp) |
| bool | Serialize (tesseract::TFile *fp) const |
| bool | DeSerialize (bool swap, tesseract::TFile *fp) |
| BOOL8 | contains (const char c) const |
| inT32 | length () const |
| inT32 | size () const |
| const char * | string () const |
| const char * | c_str () const |
| char * | strdup () const |
| char & | operator[] (inT32 index) const |
| void | split (const char c, GenericVector< STRING > *splited) |
| void | truncate_at (inT32 index) |
| BOOL8 | operator== (const STRING &string) const |
| BOOL8 | operator!= (const STRING &string) const |
| BOOL8 | operator!= (const char *string) const |
| STRING & | operator= (const char *string) |
| STRING & | operator= (const STRING &string) |
| STRING | operator+ (const STRING &string) const |
| STRING | operator+ (const char ch) const |
| STRING & | operator+= (const char *string) |
| STRING & | operator+= (const STRING &string) |
| STRING & | operator+= (const char ch) |
| void | assign (const char *cstr, int len) |
| void | add_str_int (const char *str, int number) |
| void | add_str_double (const char *str, double number) |
| void | ensure (inT32 min_capacity) |
Static Public Member Functions | |
| static bool | SkipDeSerialize (bool swap, tesseract::TFile *fp) |
| STRING::STRING | ( | ) |
Definition at line 105 of file strngs.cpp.
| STRING::STRING | ( | const STRING & | string | ) |
Definition at line 110 of file strngs.cpp.
| STRING::STRING | ( | const char * | string | ) |
Definition at line 119 of file strngs.cpp.
| STRING::STRING | ( | const char * | data, |
| int | length | ||
| ) |
Definition at line 131 of file strngs.cpp.
| STRING::~STRING | ( | ) |
Definition at line 142 of file strngs.cpp.
| void STRING::add_str_double | ( | const char * | str, |
| double | number | ||
| ) |
Definition at line 394 of file strngs.cpp.
| void STRING::add_str_int | ( | const char * | str, |
| int | number | ||
| ) |
Definition at line 384 of file strngs.cpp.
| void STRING::assign | ( | const char * | cstr, |
| int | len | ||
| ) |
Definition at line 425 of file strngs.cpp.
| const char * STRING::c_str | ( | ) | const |
Definition at line 212 of file strngs.cpp.
| BOOL8 STRING::contains | ( | const char | c | ) | const |
Definition at line 192 of file strngs.cpp.
| bool STRING::DeSerialize | ( | bool | swap, |
| FILE * | fp | ||
| ) |
Definition at line 163 of file strngs.cpp.
| bool STRING::DeSerialize | ( | bool | swap, |
| tesseract::TFile * | fp | ||
| ) |
Definition at line 174 of file strngs.cpp.
|
inline |
| inT32 STRING::length | ( | ) | const |
Definition at line 196 of file strngs.cpp.
| BOOL8 STRING::operator!= | ( | const STRING & | string | ) | const |
Definition at line 320 of file strngs.cpp.
| BOOL8 STRING::operator!= | ( | const char * | string | ) | const |
Definition at line 332 of file strngs.cpp.
Definition at line 438 of file strngs.cpp.
| STRING STRING::operator+ | ( | const char | ch | ) | const |
Definition at line 447 of file strngs.cpp.
| STRING & STRING::operator+= | ( | const char * | string | ) |
Definition at line 467 of file strngs.cpp.
Definition at line 361 of file strngs.cpp.
| STRING & STRING::operator+= | ( | const char | ch | ) |
Definition at line 492 of file strngs.cpp.
| STRING & STRING::operator= | ( | const char * | string | ) |
Definition at line 404 of file strngs.cpp.
Definition at line 345 of file strngs.cpp.
Definition at line 308 of file strngs.cpp.
| char & STRING::operator[] | ( | inT32 | index | ) | const |
Definition at line 281 of file strngs.cpp.
| bool STRING::Serialize | ( | FILE * | fp | ) | const |
Definition at line 148 of file strngs.cpp.
| bool STRING::Serialize | ( | tesseract::TFile * | fp | ) | const |
Definition at line 155 of file strngs.cpp.
|
static |
Definition at line 185 of file strngs.cpp.
| void STRING::split | ( | const char | c, |
| GenericVector< STRING > * | splited | ||
| ) |
Definition at line 289 of file strngs.cpp.
| const char * STRING::string | ( | ) | const |
Definition at line 201 of file strngs.cpp.
| void STRING::truncate_at | ( | inT32 | index | ) |
Definition at line 272 of file strngs.cpp.