![]() |
OpendTect 8.0
|
ValueSet where the values and subsets have a key. More...
#include <odjson.h>
Public Member Functions | |
| Object (const Object &) | |
| Object (ValueSet *p=nullptr) | |
| ~Object () | |
| Object * | clone () const override |
| template<class T > | |
| bool | get (const char *, Array1D< T > &) const |
| template<class T > | |
| bool | get (const char *, Array2D< T > &) 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 |
| bool | getBoolValue (const OD::String &str) const |
| bool | getBoolValue (idx_type idx) const override |
| 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 |
| double | getDoubleValue (const OD::String &str) const |
| double | getDoubleValue (idx_type idx) const override |
| FilePath | getFilePath (const char *) const |
| FilePath | getFilePath (const OD::String &str) const |
| FilePath | getFilePath (idx_type idx) const override |
| bool | getGeomID (const char *, Pos::GeomID &) const |
| od_int64 | getIntValue (const char *) const |
| od_int64 | getIntValue (const OD::String &str) const |
| od_int64 | getIntValue (idx_type idx) const override |
| MultiID | getMultiID (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 |
| BufferString | getStringValue (const OD::String &str) const |
| BufferString | getStringValue (idx_type idx) const override |
| void | getSubObjKeys (BufferStringSet &) const |
| idx_type | indexOf (const char *) const |
| bool | isArray () const override |
| bool | isPresent (const char *ky) const |
| Object & | operator= (const Object &)=delete |
| void | remove (const char *) |
| Array * | set (const char *ky, Array *) |
| void | set (const char *ky, bool) |
| template<class T > | |
| void | set (const char *ky, const Array1D< T > &) |
| template<class T > | |
| void | set (const char *ky, const Array2D< T > &) |
| 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) |
| Object * | set (const char *ky, Object *) |
| void | set (const char *ky, od_int16) |
| void | set (const char *ky, od_int32) |
| void | set (const char *ky, od_int64) |
| void | set (const char *ky, od_uint16) |
| void | set (const char *ky, od_uint32) |
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 |
| virtual BufferString | dumpJSon (bool pretty=false) const |
| void | dumpJSon (BufferString &, bool pretty=false) const |
| virtual void | dumpJSon (StringBuilder &) 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 |
| const BufferString & | key (idx_type) const |
| Object & | object (idx_type i) |
| const Object & | object (idx_type i) const |
| ValueSet & | operator= (const ValueSet &)=delete |
| uiRetVal | parseJSon (char *buf, int bufsz) |
| uiRetVal | read (const char *fnm) |
| 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 (const char *fnm, bool pretty) |
| uiRetVal | write (od_ostream &, bool pretty=false) |
| uiRetVal | writePretty (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 *parent) | |
| Array * | gtArrayByIdx (idx_type) const |
| ValueSet * | gtChildByIdx (idx_type) const |
| Object * | gtObjectByIdx (idx_type) const |
| void | setParent (ValueSet *p) |
| void | use (const GasonNode &) |
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 (const char *fnm, uiRetVal &) |
| static ValueSet * | read (od_istream &, uiRetVal &) |
Static Protected Member Functions inherited from OD::JSON::ValueSet | |
| static ValueSet * | gtByParse (char *, int, uiRetVal &, ValueSet *) |
Protected Attributes inherited from OD::JSON::ValueSet | |
| ValueSet * | parent_ |
| ObjectSet< Value > | values_ |
ValueSet where the values and subsets have a key.
<>
| OD::JSON::Object::Object | ( | ValueSet * | p = nullptr | ) |
| OD::JSON::Object::Object | ( | const Object & | ) |
| OD::JSON::Object::~Object | ( | ) |
|
inlineoverridevirtual |
Implements OD::JSON::ValueSet.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool OD::JSON::Object::getBoolValue | ( | const char * | ) | const |
|
inline |
|
inlineoverridevirtual |
Reimplemented from OD::JSON::ValueSet.
|
inline |
|
inline |
|
inline |
|
inline |
| double OD::JSON::Object::getDoubleValue | ( | const char * | ) | const |
|
inline |
|
inlineoverridevirtual |
Reimplemented from OD::JSON::ValueSet.
| FilePath OD::JSON::Object::getFilePath | ( | const char * | ) | const |
|
inline |
Reimplemented from OD::JSON::ValueSet.
| bool OD::JSON::Object::getGeomID | ( | const char * | , |
| Pos::GeomID & | ) const |
| od_int64 OD::JSON::Object::getIntValue | ( | const char * | ) | const |
|
inline |
|
inlineoverridevirtual |
Reimplemented from OD::JSON::ValueSet.
| MultiID OD::JSON::Object::getMultiID | ( | const char * | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| bool OD::JSON::Object::getStrings | ( | const char * | , |
| BufferStringSet & | ) const |
| BufferString OD::JSON::Object::getStringValue | ( | const char * | ) | const |
|
inline |
|
inlineoverridevirtual |
Reimplemented from OD::JSON::ValueSet.
| void OD::JSON::Object::getSubObjKeys | ( | BufferStringSet & | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| idx_type OD::JSON::Object::indexOf | ( | const char * | ) | const |
|
inlineoverridevirtual |
Implements OD::JSON::ValueSet.
|
inline |
| void OD::JSON::Object::remove | ( | const char * | ) |
| void OD::JSON::Object::set | ( | const char * | ky, |
| bool | ) |
|
inline |
|
inline |
| 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, |
| od_int16 | ) |
| void OD::JSON::Object::set | ( | const char * | ky, |
| od_int32 | ) |
| void OD::JSON::Object::set | ( | const char * | ky, |
| od_int64 | ) |
| void OD::JSON::Object::set | ( | const char * | ky, |
| od_uint16 | ) |
| void OD::JSON::Object::set | ( | const char * | ky, |
| od_uint32 | ) |
|
protected |
|
protected |
|
protected |
|
friend |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025