Tesseract
3.02
|
#include <strngs.h>
Classes | |
struct | STRING_HEADER |
Public Member Functions | |
STRING () | |
STRING (const STRING &string) | |
STRING (const char *string) | |
~STRING () | |
bool | Serialize (FILE *fp) const |
bool | DeSerialize (bool swap, FILE *fp) |
BOOL8 | contains (const char c) const |
inT32 | length () const |
inT32 | size () const |
const char * | string () 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 | ensure (inT32 min_capacity) |
STRING::STRING | ( | ) |
Definition at line 98 of file strngs.cpp.
STRING::STRING | ( | const STRING & | string | ) |
Definition at line 103 of file strngs.cpp.
STRING::STRING | ( | const char * | string | ) |
Definition at line 112 of file strngs.cpp.
STRING::~STRING | ( | ) |
Definition at line 124 of file strngs.cpp.
void STRING::add_str_int | ( | const char * | str, |
int | number | ||
) |
Definition at line 334 of file strngs.cpp.
void STRING::assign | ( | const char * | cstr, |
int | len | ||
) |
Definition at line 365 of file strngs.cpp.
BOOL8 STRING::contains | ( | const char | c | ) | const |
Definition at line 147 of file strngs.cpp.
bool STRING::DeSerialize | ( | bool | swap, |
FILE * | fp | ||
) |
Definition at line 137 of file strngs.cpp.
|
inline |
inT32 STRING::length | ( | ) | const |
Definition at line 151 of file strngs.cpp.
BOOL8 STRING::operator!= | ( | const STRING & | string | ) | const |
Definition at line 270 of file strngs.cpp.
BOOL8 STRING::operator!= | ( | const char * | string | ) | const |
Definition at line 282 of file strngs.cpp.
Definition at line 378 of file strngs.cpp.
STRING STRING::operator+ | ( | const char | ch | ) | const |
Definition at line 387 of file strngs.cpp.
STRING & STRING::operator+= | ( | const char * | string | ) |
Definition at line 407 of file strngs.cpp.
Definition at line 311 of file strngs.cpp.
STRING & STRING::operator+= | ( | const char | ch | ) |
Definition at line 432 of file strngs.cpp.
STRING & STRING::operator= | ( | const char * | string | ) |
Definition at line 344 of file strngs.cpp.
Definition at line 295 of file strngs.cpp.
Definition at line 258 of file strngs.cpp.
char & STRING::operator[] | ( | inT32 | index | ) | const |
Definition at line 230 of file strngs.cpp.
bool STRING::Serialize | ( | FILE * | fp | ) | const |
Definition at line 129 of file strngs.cpp.
void STRING::split | ( | const char | c, |
GenericVector< STRING > * | splited | ||
) |
Definition at line 238 of file strngs.cpp.
|
inline |
const char * STRING::string | ( | ) | const |
Definition at line 156 of file strngs.cpp.
void STRING::truncate_at | ( | inT32 | index | ) |
Definition at line 223 of file strngs.cpp.