|
tesseract 4.1.1
|
#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 (tesseract::TFile *fp) |
| bool | contains (char c) const |
| int32_t | length () const |
| int32_t | size () const |
| uint32_t | unsigned_size () const |
| const char * | string () const |
| const char * | c_str () const |
| char * | strdup () const |
| char & | operator[] (int32_t index) const |
| void | split (char c, GenericVector< STRING > *splited) |
| void | truncate_at (int32_t index) |
| bool | operator== (const STRING &string) const |
| bool | operator!= (const STRING &string) const |
| bool | operator!= (const char *string) const |
| STRING & | operator= (const char *string) |
| STRING & | operator= (const STRING &string) |
| STRING | operator+ (const STRING &string) const |
| STRING | operator+ (char ch) const |
| STRING & | operator+= (const char *string) |
| STRING & | operator+= (const STRING &string) |
| STRING & | operator+= (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_t min_capacity) |
Static Public Member Functions | |
| static bool | SkipDeSerialize (tesseract::TFile *fp) |
| STRING::STRING | ( | ) |
Definition at line 103 of file strngs.cpp.
| STRING::STRING | ( | const STRING & | string | ) |
Definition at line 108 of file strngs.cpp.
| STRING::STRING | ( | const char * | string | ) |
Definition at line 117 of file strngs.cpp.
| STRING::STRING | ( | const char * | data, |
| int | length | ||
| ) |
Definition at line 129 of file strngs.cpp.
| STRING::~STRING | ( | ) |
Definition at line 140 of file strngs.cpp.
| void STRING::add_str_double | ( | const char * | str, |
| double | number | ||
| ) |
Definition at line 387 of file strngs.cpp.
| void STRING::add_str_int | ( | const char * | str, |
| int | number | ||
| ) |
Definition at line 377 of file strngs.cpp.
| void STRING::assign | ( | const char * | cstr, |
| int | len | ||
| ) |
Definition at line 420 of file strngs.cpp.
| const char * STRING::c_str | ( | ) | const |
Definition at line 205 of file strngs.cpp.
| bool STRING::contains | ( | char | c | ) | const |
Definition at line 185 of file strngs.cpp.
| bool STRING::DeSerialize | ( | bool | swap, |
| FILE * | fp | ||
| ) |
Definition at line 159 of file strngs.cpp.
| bool STRING::DeSerialize | ( | tesseract::TFile * | fp | ) |
Definition at line 171 of file strngs.cpp.
|
inline |
| int32_t STRING::length | ( | ) | const |
Definition at line 189 of file strngs.cpp.
| bool STRING::operator!= | ( | const char * | string | ) | const |
Definition at line 325 of file strngs.cpp.
| bool STRING::operator!= | ( | const STRING & | string | ) | const |
Definition at line 313 of file strngs.cpp.
| STRING STRING::operator+ | ( | char | ch | ) | const |
Definition at line 442 of file strngs.cpp.
Definition at line 433 of file strngs.cpp.
| STRING & STRING::operator+= | ( | char | ch | ) |
Definition at line 487 of file strngs.cpp.
| STRING & STRING::operator+= | ( | const char * | string | ) |
Definition at line 462 of file strngs.cpp.
Definition at line 354 of file strngs.cpp.
| STRING & STRING::operator= | ( | const char * | string | ) |
Definition at line 399 of file strngs.cpp.
Definition at line 338 of file strngs.cpp.
| bool STRING::operator== | ( | const STRING & | string | ) | const |
Definition at line 301 of file strngs.cpp.
| char & STRING::operator[] | ( | int32_t | index | ) | const |
Definition at line 274 of file strngs.cpp.
| bool STRING::Serialize | ( | FILE * | fp | ) | const |
Definition at line 146 of file strngs.cpp.
| bool STRING::Serialize | ( | tesseract::TFile * | fp | ) | const |
Definition at line 152 of file strngs.cpp.
|
inline |
|
static |
Definition at line 179 of file strngs.cpp.
| void STRING::split | ( | char | c, |
| GenericVector< STRING > * | splited | ||
| ) |
Definition at line 282 of file strngs.cpp.
|
inline |
| const char * STRING::string | ( | ) | const |
Definition at line 194 of file strngs.cpp.
| void STRING::truncate_at | ( | int32_t | index | ) |
Definition at line 265 of file strngs.cpp.
|
inline |