Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Classes | |
struct | Binary |
Public Types | |
enum | Type { TYPE_UNKNOWN = -1, TYPE_GROUP = 0, TYPE_BOOL, TYPE_CHAR, TYPE_INT, TYPE_DOUBLE, TYPE_STRING, TYPE_BINARY_DATA, TYPE_WORD } |
Public Member Functions | |
ParserValue (const ParserValue &value) | |
ParserValue (const bool &value) | |
ParserValue (const char &value) | |
ParserValue (const int &value) | |
ParserValue (const double &value) | |
ParserValue (const CoreString &value) | |
ParserValue (void *data, const unsigned int &size) | |
ParserValue (ParserGroup *group) | |
ParserValue (const Type &type, const CoreString &value) | |
void | set_bool (const bool &value) |
void | set_char (const char &value) |
void | set_int (const int &value) |
void | set_double (const double &value) |
void | set_string (const CoreString &value) |
void | set_binary_data (void *data, const unsigned int &size) |
bool | get_as_bool () const |
char | get_as_char () const |
int | get_as_int () const |
double | get_as_double () const |
void * | get_as_binary_data (unsigned int &size) const |
const CoreString & | get_as_string () const |
void | get_text (CoreString &text, const bool &multiline, const unsigned int &offset) const |
void | make_value () const |
void | get_binary (CoreVector< char > &buffer, long unsigned long &count, const bool &with_type) |
void | clear () |
Static Public Member Functions | |
static CoreString | get_type_name (const Type &type) |
static long unsigned long | bool_to_bin (CoreVector< char > &buffer, const bool &value) |
static long unsigned long | char_to_bin (CoreVector< char > &buffer, const char &value) |
static long unsigned long | int_to_bin (CoreVector< char > &buffer, const int &value) |
static long unsigned long | double_to_bin (CoreVector< char > &buffer, const double &value) |
static long unsigned long | string_to_bin (CoreVector< char > &buffer, const CoreString &value) |
static long unsigned long | binary_data_to_bin (CoreVector< char > &buffer, void *data, const unsigned int &size) |
static long unsigned long | group_to_bin (CoreVector< char > &buffer, const ParserGroup &group) |
static long unsigned long | size_to_bin (CoreVector< char > &buffer, const long unsigned long &value) |
static bool | bin_to_bool (const CoreVector< char > &buffer, long unsigned long &position) |
static char | bin_to_char (const CoreVector< char > &buffer, long unsigned long &position) |
static int | bin_to_int (const CoreVector< char > &buffer, long unsigned long &position) |
static double | bin_to_double (const CoreVector< char > &buffer, long unsigned long &position) |
static CoreString | bin_to_string (const CoreVector< char > &buffer, long unsigned long &position) |
static void * | bin_to_binary_data (const CoreVector< char > &buffer, long unsigned long &position, unsigned int &size) |
static long unsigned long | bin_to_size (const CoreVector< char > &buffer, long unsigned long &position) |
static ParserValue * | bin_to_value (const CoreVector< char > &buffer, long unsigned long &position) |
static void | word_to_binary_data (void *&data, unsigned int &size, const ParserWord &word) |
Public Attributes | |
Type | m_type |
bool | m_has_value |
bool | m_has_data |
union { | |
bool | b |
char | c |
int | i |
double | d |
CoreString * | s |
Binary * | bin |
} | m_value |
union { | |
CoreString * | word |
ParserGroup * | group |
} | m_data |