#include "datahash_util.h"
#include "util/date.h"
#include "util/parsing.h"
#include "common/wave_ex.h"
Go to the source code of this file.
Functions | |
static const hash_value_t * | getSingleValue (const Datahash *h, const char *key, eDatahash_Flag flag, eHashDataType type) |
const char * | getString (const Datahash *h, const char *key, eDatahash_Flag flag) |
const char * | getOptionalString (const Datahash *h, const char *key, const char *default_value) |
long | getLong (const Datahash *h, const char *key) |
long | getOptionalLong (const Datahash *h, const char *key, long default_value) |
double | getDouble (const Datahash *h, const char *key) |
bool | getBooleanValueFromString (const char *v) |
bool | getBoolean (const Datahash *h, const char *key) |
smart_ptr< Datahash > | getSubhash (const Datahash *h, const char *key, eDatahash_Flag flag) |
void | setTimestampAsDateString (Datahash *h, const char *key_name, long timestamp) |
long | getTimestampFromDateString (const Datahash *h, const char *key) |
smart_ptr< Datahash > | getHashFromColonString (const char *s) |
void | getStringValues (const Datahash *hash, const char *key, VecString &vec) |
static const hash_value_t* getSingleValue | ( | const Datahash * | h, | |
const char * | key, | |||
eDatahash_Flag | flag, | |||
eHashDataType | type | |||
) | [static] |
Definition at line 51 of file datahash_util.cpp.
const char* getString | ( | const Datahash * | h, | |
const char * | key, | |||
eDatahash_Flag | flag | |||
) |
Definition at line 89 of file datahash_util.cpp.
const char* getOptionalString | ( | const Datahash * | h, | |
const char * | key, | |||
const char * | default_value | |||
) |
Definition at line 110 of file datahash_util.cpp.
long getLong | ( | const Datahash * | h, | |
const char * | key | |||
) |
Definition at line 128 of file datahash_util.cpp.
long getOptionalLong | ( | const Datahash * | h, | |
const char * | key, | |||
long | default_value | |||
) |
Definition at line 143 of file datahash_util.cpp.
double getDouble | ( | const Datahash * | h, | |
const char * | key | |||
) |
Definition at line 162 of file datahash_util.cpp.
bool getBooleanValueFromString | ( | const char * | v | ) |
Definition at line 177 of file datahash_util.cpp.
bool getBoolean | ( | const Datahash * | h, | |
const char * | key | |||
) |
Definition at line 210 of file datahash_util.cpp.
smart_ptr<Datahash> getSubhash | ( | const Datahash * | h, | |
const char * | key, | |||
eDatahash_Flag | flag | |||
) |
Definition at line 225 of file datahash_util.cpp.
void setTimestampAsDateString | ( | Datahash * | h, | |
const char * | key_name, | |||
long | timestamp | |||
) |
Definition at line 246 of file datahash_util.cpp.
long getTimestampFromDateString | ( | const Datahash * | h, | |
const char * | key | |||
) |
Definition at line 265 of file datahash_util.cpp.
Definition at line 281 of file datahash_util.cpp.
Definition at line 327 of file datahash_util.cpp.