|
DP3
|
Implements a KV pair as a pair<string, string>. More...
#include <KVpair.h>
Public Types | |
| enum | { VT_UNKNOWN = 0 , VT_STRING , VT_BOOL , VT_INT , VT_DOUBLE , VT_FLOAT , VT_TIME_T } |
Public Member Functions | |
| KVpair () | |
| KVpair (const KVpair &that) | |
| KVpair (const std::string &aKey, bool aValue, bool genTimestamp=false, bool timestampInKeyname=false) | |
| KVpair (const std::string &aKey, const char *aValue, bool genTimestamp=false, bool timestampInKeyname=false) | |
| KVpair (const std::string &aKey, const std::string &aValue, bool genTimestamp=false, bool timestampInKeyname=false) | |
| KVpair (const std::string &aKey, double aValue, bool genTimestamp=false, bool timestampInKeyname=false) | |
| KVpair (const std::string &aKey, float aValue, bool genTimestamp=false, bool timestampInKeyname=false) | |
| KVpair (const std::string &aKey, int aValue, bool genTimestamp=false, bool timestampInKeyname=false) | |
| KVpair (const std::string &aKey, time_t aValue, bool genTimestamp=false, bool timestampInKeyname=false) | |
| ~KVpair () | |
| KVpair & | operator= (const KVpair &that) |
| bool | operator== (const KVpair &that) const |
Public Attributes | |
| double | timestamp |
| int16_t | valueType |
Implements a KV pair as a pair<string, string>.
Implements a KV pair as a pair<string, string>.
| dp3::common::KVpair::KVpair | ( | const std::string & | aKey, |
| const std::string & | aValue, | ||
| bool | genTimestamp = false, |
||
| bool | timestampInKeyname = false |
||
| ) |
| dp3::common::KVpair::KVpair | ( | const std::string & | aKey, |
| const char * | aValue, | ||
| bool | genTimestamp = false, |
||
| bool | timestampInKeyname = false |
||
| ) |
| dp3::common::KVpair::KVpair | ( | const std::string & | aKey, |
| bool | aValue, | ||
| bool | genTimestamp = false, |
||
| bool | timestampInKeyname = false |
||
| ) |
| dp3::common::KVpair::KVpair | ( | const std::string & | aKey, |
| int | aValue, | ||
| bool | genTimestamp = false, |
||
| bool | timestampInKeyname = false |
||
| ) |
| dp3::common::KVpair::KVpair | ( | const std::string & | aKey, |
| double | aValue, | ||
| bool | genTimestamp = false, |
||
| bool | timestampInKeyname = false |
||
| ) |
| dp3::common::KVpair::KVpair | ( | const std::string & | aKey, |
| float | aValue, | ||
| bool | genTimestamp = false, |
||
| bool | timestampInKeyname = false |
||
| ) |
| dp3::common::KVpair::KVpair | ( | const std::string & | aKey, |
| time_t | aValue, | ||
| bool | genTimestamp = false, |
||
| bool | timestampInKeyname = false |
||
| ) |
| dp3::common::KVpair::KVpair | ( | ) |
| dp3::common::KVpair::~KVpair | ( | ) |
| dp3::common::KVpair::KVpair | ( | const KVpair & | that | ) |
|
inline |
| double dp3::common::KVpair::timestamp |
| int16_t dp3::common::KVpair::valueType |