![]() |
OpendTect
7.0
|
ValueSet where the values and subsets have no key. More...
Public Member Functions | |
| Array (bool objects, ValueSet *p=0) | |
| Array (const Array &) | |
| Array (DataType, ValueSet *p=0) | |
| ~Array () | |
| Array * | add (Array *) |
| Array & | add (bool) |
| Array & | add (const char *) |
| Array & | add (const DBKey &) |
| Array & | add (const FilePath &) |
| Array & | add (const MultiID &) |
| Array & | add (const OD::String &) |
| Array & | add (const uiString &) |
| Array & | add (double) |
| Array & | add (float) |
| Object * | add (Object *) |
| Array & | add (std::int16_t) |
| Array & | add (std::int32_t) |
| Array & | add (std::int64_t) |
| Array & | add (std::uint16_t) |
| Array & | add (std::uint32_t) |
| Array * | clone () const override |
| bool | getBoolValue (idx_type) const override |
| double | getDoubleValue (idx_type) const override |
| FilePath | getFilePath (idx_type) const override |
| std::int64_t | getIntValue (idx_type) const override |
| BufferString | getStringValue (idx_type) const override |
| bool | isArray () const override |
| bool | isData () const |
| bool | isEmpty () const override |
| Array & | set (bool) |
| Array & | set (const bool *, size_type) |
| Array & | set (const BoolTypeSet &) |
| Array & | set (const BufferStringSet &) |
| Array & | set (const char *) |
| Array & | set (const DBKey &) |
| Array & | set (const DBKeySet &) |
| Array & | set (const double *, size_type) |
| Array & | set (const FilePath &) |
| Array & | set (const float *, size_type) |
| Array & | set (const MultiID &) |
| Array & | set (const OD::String &) |
| Array & | set (const std::int16_t *, size_type) |
| Array & | set (const std::int32_t *, size_type) |
| Array & | set (const std::int64_t *, size_type) |
| Array & | set (const std::uint16_t *, size_type) |
| Array & | set (const std::uint32_t *, size_type) |
| Array & | set (const TypeSet< double > &) |
| Array & | set (const TypeSet< float > &) |
| Array & | set (const TypeSet< std::int16_t > &) |
| Array & | set (const TypeSet< std::int32_t > &) |
| Array & | set (const TypeSet< std::int64_t > &) |
| Array & | set (const TypeSet< std::uint16_t > &) |
| Array & | set (const TypeSet< std::uint32_t > &) |
| Array & | set (const uiString &) |
| Array & | set (const uiStringSet &) |
| Array & | set (double) |
| Array & | set (float) |
| Array & | set (std::int16_t) |
| Array & | set (std::int32_t) |
| Array & | set (std::int64_t) |
| Array & | set (std::uint16_t) |
| Array & | set (std::uint32_t) |
| void | setEmpty () override |
| size_type | size () const override |
| ValArr & | valArr () |
| const ValArr & | valArr () const |
| ValueType | valType () const |
| ValueType | valueType (idx_type) const override |
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 |
| 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 &) |
| ValueSet * | top () |
| const ValueSet * | top () const |
| uiRetVal | write (od_ostream &, bool pretty=false) |
| uiRetVal | writePretty (od_ostream &) |
Protected Member Functions | |
| void | addVS (ValueSet *) |
| template<class T > | |
| Array & | setVals (const T *, size_type) |
| template<class T > | |
| Array & | setVals (const TypeSet< T > &) |
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 &) |
Protected Attributes | |
| ValArr * | valarr_ |
| ValueType | valtype_ |
Protected Attributes inherited from OD::JSON::ValueSet | |
| ValueSet * | parent_ |
| ObjectSet< Value > | values_ |
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 *) |
ValueSet where the values and subsets have no key.
If it holds plain data (valType()==Data), then you can only add plain values or set all at once. Otherwise, you can only add ValueSet's of the same type (either Array or Object).
<>
| OD::JSON::Array::Array | ( | bool | objects, |
| ValueSet * | p = 0 |
||
| ) |
| OD::JSON::Array::Array | ( | const Array & | ) |
| OD::JSON::Array::~Array | ( | ) |
| Array& OD::JSON::Array::add | ( | bool | ) |
| Array& OD::JSON::Array::add | ( | const char * | ) |
| Array& OD::JSON::Array::add | ( | const OD::String & | ) |
| Array& OD::JSON::Array::add | ( | double | ) |
| Array& OD::JSON::Array::add | ( | float | ) |
| Array& OD::JSON::Array::add | ( | std::int16_t | ) |
| Array& OD::JSON::Array::add | ( | std::int32_t | ) |
| Array& OD::JSON::Array::add | ( | std::int64_t | ) |
| Array& OD::JSON::Array::add | ( | std::uint16_t | ) |
| Array& OD::JSON::Array::add | ( | std::uint32_t | ) |
|
protected |
|
inlineoverridevirtual |
Implements OD::JSON::ValueSet.
|
overridevirtual |
Reimplemented from OD::JSON::ValueSet.
|
overridevirtual |
Reimplemented from OD::JSON::ValueSet.
Reimplemented from OD::JSON::ValueSet.
|
overridevirtual |
Reimplemented from OD::JSON::ValueSet.
|
overridevirtual |
Reimplemented from OD::JSON::ValueSet.
|
inlineoverridevirtual |
Implements OD::JSON::ValueSet.
| bool OD::JSON::Array::isData | ( | ) | const |
|
overridevirtual |
Reimplemented from OD::JSON::ValueSet.
| Array& OD::JSON::Array::set | ( | bool | ) |
| Array& OD::JSON::Array::set | ( | const BoolTypeSet & | ) |
| Array& OD::JSON::Array::set | ( | const BufferStringSet & | ) |
| Array& OD::JSON::Array::set | ( | const char * | ) |
| Array& OD::JSON::Array::set | ( | const OD::String & | ) |
| Array& OD::JSON::Array::set | ( | const uiStringSet & | ) |
| Array& OD::JSON::Array::set | ( | double | ) |
| Array& OD::JSON::Array::set | ( | float | ) |
| Array& OD::JSON::Array::set | ( | std::int16_t | ) |
| Array& OD::JSON::Array::set | ( | std::int32_t | ) |
| Array& OD::JSON::Array::set | ( | std::int64_t | ) |
| Array& OD::JSON::Array::set | ( | std::uint16_t | ) |
| Array& OD::JSON::Array::set | ( | std::uint32_t | ) |
|
overridevirtual |
Reimplemented from OD::JSON::ValueSet.
|
overridevirtual |
Reimplemented from OD::JSON::ValueSet.
|
inline |
|
inline |
|
inline |
Reimplemented from OD::JSON::ValueSet.
|
friend |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024