OpendTect
6.6
|
holds values and sets of values. Is base class for either Array or Object. More...
Public Types | |
typedef Gason::JsonNode | GasonNode |
typedef size_type | idx_type |
typedef ValArr::size_type | size_type |
enum | ValueType { Data , SubArray , SubObject } |
Static Public Member Functions | |
static ValueSet * | getFromJSon (char *buf, int bufsz, uiRetVal &) |
static ValueSet * | read (od_istream &, uiRetVal &) |
Protected Member Functions | |
ValueSet (const ValueSet &) | |
ValueSet (ValueSet *p) | |
Array * | gtArrayByIdx (idx_type) const |
ValueSet * | gtChildByIdx (idx_type) const |
Object * | gtObjectByIdx (idx_type) const |
void | setParent (ValueSet *p) |
void | use (const GasonNode &) |
Static Protected Member Functions | |
static ValueSet * | gtByParse (char *, int, uiRetVal &, ValueSet *) |
static const char * | gtvalnotplaindatastr () |
Protected Attributes | |
ValueSet * | parent_ |
ObjectSet< Value > | values_ |
Friends | |
class | Array |
class | Object |
class | Value |
|
inlinevirtual |
|
inlineprotected |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in OD::JSON::Object, and OD::JSON::Array.
BufferString OD::JSON::ValueSet::dumpJSon | ( | ) | const |
void OD::JSON::ValueSet::dumpJSon | ( | BufferString & | ) | const |
void OD::JSON::ValueSet::dumpJSon | ( | StringBuilder & | ) | const |
bool OD::JSON::ValueSet::getBoolValue | ( | idx_type | ) | const |
double OD::JSON::ValueSet::getDoubleValue | ( | idx_type | ) | const |
int64_t OD::JSON::ValueSet::getIntValue | ( | idx_type | ) | const |
BufferString OD::JSON::ValueSet::getStringValue | ( | idx_type | ) | const |
|
staticprotected |
|
inlinestaticprotected |
|
pure virtual |
Implemented in OD::JSON::Object, and OD::JSON::Array.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
uiRetVal OD::JSON::ValueSet::parseJSon | ( | char * | buf, |
int | bufsz | ||
) |
uiRetVal OD::JSON::ValueSet::read | ( | od_istream & | ) |
|
static |
|
virtual |
Reimplemented in OD::JSON::Array.
|
inlineprotected |
|
inlinevirtual |
Reimplemented in OD::JSON::Array.
ValueSet* OD::JSON::ValueSet::top | ( | ) |
const ValueSet* OD::JSON::ValueSet::top | ( | ) | const |
|
protected |
Reimplemented in OD::JSON::Array.
uiRetVal OD::JSON::ValueSet::write | ( | od_ostream & | ) |
|
friend |
|
friend |
|
friend |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022