OpendTect
6.6
|
ValueSet where the values and subsets have a key. More...
Public Member Functions | |
Object (const Object &) | |
Object (ValueSet *p=0) | |
virtual Object * | clone () const |
template<class T > | |
bool | get (const char *, Interval< T > &) const |
Array * | getArray (const BufferStringSet &bskey) |
const Array * | getArray (const BufferStringSet &bskey) const |
Array * | getArray (const char *ky) |
const Array * | getArray (const char *ky) const |
bool | getBoolValue (const char *) const |
ValueSet * | getChild (const BufferStringSet &bskey) |
const ValueSet * | getChild (const BufferStringSet &bskey) const |
ValueSet * | getChild (const char *ky) |
const ValueSet * | getChild (const char *ky) const |
double | getDoubleValue (const char *) const |
FilePath | getFilePath (const char *) const |
bool | getGeomID (const char *, Pos::GeomID &) const |
int64_t | getIntValue (const char *) const |
Object * | getObject (const BufferStringSet &bskey) |
const Object * | getObject (const BufferStringSet &bskey) const |
Object * | getObject (const char *ky) |
const Object * | getObject (const char *ky) const |
bool | getStrings (const char *, BufferStringSet &) const |
BufferString | getStringValue (const char *) const |
void | getSubObjKeys (BufferStringSet &) const |
idx_type | indexOf (const char *) const |
virtual bool | isArray () const |
bool | isPresent (const char *ky) const |
void | remove (const char *) |
Array * | set (const char *ky, Array *) |
void | set (const char *ky, bool) |
void | set (const char *ky, const char *) |
void | set (const char *ky, const DBKey &) |
void | set (const char *ky, const FilePath &) |
template<class T > | |
void | set (const char *ky, const Interval< T > &) |
void | set (const char *ky, const MultiID &) |
void | set (const char *ky, const OD::String &str) |
void | set (const char *ky, const uiString &) |
void | set (const char *ky, double) |
void | set (const char *ky, float) |
void | set (const char *ky, int) |
void | set (const char *ky, int64_t) |
Object * | set (const char *ky, Object *) |
void | set (const char *ky, short) |
void | set (const char *ky, unsigned int) |
void | set (const char *ky, unsigned short) |
Public Member Functions inherited from OD::JSON::ValueSet | |
virtual | ~ValueSet () |
Array & | array (idx_type i) |
const Array & | array (idx_type i) const |
Array & | asArray () |
const Array & | asArray () const |
Object & | asObject () |
const Object & | asObject () const |
ValueSet & | child (idx_type i) |
const ValueSet & | child (idx_type i) const |
BufferString | dumpJSon () const |
void | dumpJSon (BufferString &) const |
void | dumpJSon (StringBuilder &) const |
bool | getBoolValue (idx_type) const |
double | getDoubleValue (idx_type) const |
FilePath | getFilePath (idx_type) const |
int64_t | getIntValue (idx_type) const |
BufferString | getStringValue (idx_type) const |
bool | isArrayChild (idx_type i) const |
virtual bool | isEmpty () const |
bool | isObjectChild (idx_type i) const |
bool | isPlainData (idx_type i) const |
bool | isTop () const |
Object & | object (idx_type i) |
const Object & | object (idx_type i) const |
uiRetVal | parseJSon (char *buf, int bufsz) |
uiRetVal | read (od_istream &) |
virtual void | setEmpty () |
virtual size_type | size () const |
ValueSet * | top () |
const ValueSet * | top () const |
virtual ValueType | valueType (idx_type) const |
uiRetVal | write (od_ostream &) |
Protected Member Functions | |
Array * | gtArrayByKey (const char *) const |
Array * | gtArrayByKeys (const BufferStringSet &) const |
ValueSet * | gtChildByKey (const char *) const |
ValueSet * | gtChildByKeys (const BufferStringSet &) const |
Object * | gtObjectByKey (const char *) const |
Object * | gtObjectByKeys (const BufferStringSet &) const |
void | set (KeyedValue *) |
template<class T > | |
void | setVal (const char *, T) |
void | setVS (const char *, ValueSet *) |
Protected Member Functions inherited from OD::JSON::ValueSet | |
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 const char * | errnoemptykey () |
Static Protected Member Functions inherited from OD::JSON::ValueSet | |
static ValueSet * | gtByParse (char *, int, uiRetVal &, ValueSet *) |
static const char * | gtvalnotplaindatastr () |
Friends | |
class | ValueSet |
Additional Inherited Members | |
Public Types inherited from OD::JSON::ValueSet | |
typedef Gason::JsonNode | GasonNode |
typedef size_type | idx_type |
typedef ValArr::size_type | size_type |
enum | ValueType { Data , SubArray , SubObject } |
Static Public Member Functions inherited from OD::JSON::ValueSet | |
static ValueSet * | getFromJSon (char *buf, int bufsz, uiRetVal &) |
static ValueSet * | read (od_istream &, uiRetVal &) |
Protected Attributes inherited from OD::JSON::ValueSet | |
ValueSet * | parent_ |
ObjectSet< Value > | values_ |
ValueSet where the values and subsets have a key.
<>
|
inline |
OD::JSON::Object::Object | ( | const Object & | ) |
|
inlinevirtual |
Implements OD::JSON::ValueSet.
|
inlinestaticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool OD::JSON::Object::getBoolValue | ( | const char * | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
double OD::JSON::Object::getDoubleValue | ( | const char * | ) | const |
FilePath OD::JSON::Object::getFilePath | ( | const char * | ) | const |
bool OD::JSON::Object::getGeomID | ( | const char * | , |
Pos::GeomID & | |||
) | const |
int64_t OD::JSON::Object::getIntValue | ( | const char * | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
bool OD::JSON::Object::getStrings | ( | const char * | , |
BufferStringSet & | |||
) | const |
BufferString OD::JSON::Object::getStringValue | ( | const char * | ) | const |
void OD::JSON::Object::getSubObjKeys | ( | BufferStringSet & | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
idx_type OD::JSON::Object::indexOf | ( | const char * | ) | const |
|
inlinevirtual |
Implements OD::JSON::ValueSet.
|
inline |
void OD::JSON::Object::remove | ( | const char * | ) |
void OD::JSON::Object::set | ( | const char * | ky, |
bool | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
const char * | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
const DBKey & | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
const FilePath & | |||
) |
|
inline |
void OD::JSON::Object::set | ( | const char * | ky, |
const MultiID & | |||
) |
|
inline |
void OD::JSON::Object::set | ( | const char * | ky, |
const uiString & | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
double | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
float | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
int | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
int64_t | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
short | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
unsigned int | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
unsigned short | |||
) |
|
protected |
|
protected |
|
protected |
|
friend |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022