OpendTect
7.0
|
ValueSet where the values and subsets have a key. More...
Public Member Functions | |
Object (const Object &) | |
Object (ValueSet *p=0) | |
Object * | clone () const override |
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 |
std::int64_t | getIntValue (const char *) const |
std::int64_t | getIntValue (const OD::String &str) const |
std::int64_t | getIntValue (idx_type idx) const override |
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 |
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) |
Object * | set (const char *ky, Object *) |
void | set (const char *ky, std::int16_t) |
void | set (const char *ky, std::int32_t) |
void | set (const char *ky, std::int64_t) |
void | set (const char *ky, std::uint16_t) |
void | set (const char *ky, std::uint32_t) |
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 (bool pretty=false) const |
void | dumpJSon (BufferString &, bool pretty=false) const |
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 |
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 &, 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 *p) | |
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 (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.
<>
|
inline |
OD::JSON::Object::Object | ( | const Object & | ) |
|
inlineoverridevirtual |
Implements OD::JSON::ValueSet.
|
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 |
std::int64_t OD::JSON::Object::getIntValue | ( | const char * | ) | const |
|
inline |
|
inlineoverridevirtual |
Reimplemented from OD::JSON::ValueSet.
|
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 | |||
) |
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, |
std::int16_t | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
std::int32_t | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
std::int64_t | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
std::uint16_t | |||
) |
void OD::JSON::Object::set | ( | const char * | ky, |
std::uint32_t | |||
) |
|
protected |
|
protected |
|
protected |
|
friend |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024