|
| | 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 double *, size_type) |
| |
| Array & | add (const FilePath &) |
| |
| Array & | add (const float *, size_type) |
| |
| Array & | add (const MultiID &) |
| |
| Array & | add (const OD::String &) |
| |
| Array & | add (const od_int16 *, size_type) |
| |
| Array & | add (const od_int32 *, size_type) |
| |
| Array & | add (const od_int64 *, size_type) |
| |
| Array & | add (const od_uint16 *, size_type) |
| |
| Array & | add (const od_uint32 *, size_type) |
| |
| Array & | add (const TypeSet< Coord > &) |
| |
| Array & | add (const TypeSet< Coord3 > &) |
| |
| Array & | add (const TypeSet< double > &) |
| |
| Array & | add (const TypeSet< float > &) |
| |
| Array & | add (const TypeSet< od_int16 > &) |
| |
| Array & | add (const TypeSet< od_int32 > &) |
| |
| Array & | add (const TypeSet< od_int64 > &) |
| |
| Array & | add (const TypeSet< od_uint16 > &) |
| |
| Array & | add (const TypeSet< od_uint32 > &) |
| |
| Array & | add (const uiString &) |
| |
| Array & | add (Coord) |
| |
| Array & | add (Coord3) |
| |
| Array & | add (double) |
| |
| Array & | add (float) |
| |
| Object * | add (Object *) |
| |
| Array & | add (od_int16) |
| |
| Array & | add (od_int32) |
| |
| Array & | add (od_int64) |
| |
| Array & | add (od_uint16) |
| |
| Array & | add (od_uint32) |
| |
| template<class T> |
| OD::JSON::Array & | addVals (const T *vals, size_type sz) |
| |
| template<class T> |
| OD::JSON::Array & | addVals (const TypeSet< T > &vals) |
| |
| Array * | clone () const override |
| |
| DataType | dataType () const |
| |
| DataType | dType (idx_type) const |
| | Only for ValueType==Data.
|
| |
| BufferString | dumpJSon (bool pretty=false) const override |
| |
| void | dumpJSon (StringBuilder &) const override |
| |
| bool | get (::IdxPair &) const |
| |
| bool | get (BoolTypeSet &) const |
| |
| bool | get (BufferStringSet &) const |
| |
| bool | get (Coord &) const |
| |
| bool | get (Coord3 &) const |
| |
| bool | get (DBKeySet &) const |
| |
| bool | get (TypeSet< Coord > &) const |
| |
| bool | get (TypeSet< Coord3 > &) const |
| |
| bool | get (TypeSet< FilePath > &) const |
| |
| bool | get (TypeSet< MultiID > &) const |
| |
| template<class T> |
| bool | get (TypeSet< T > &) const |
| |
| bool | get (uiStringSet &) const |
| |
| bool | getBoolValue (idx_type) const override |
| |
| double | getDoubleValue (idx_type) const override |
| |
| FilePath | getFilePath (idx_type) const override |
| |
| od_int64 | getIntValue (idx_type) const override |
| |
| BufferString | getStringValue (idx_type) const override |
| |
| bool | isArray () const override |
| |
| bool | isData () const |
| |
| bool | isEmpty () const override |
| |
| bool | isMixed () const |
| |
| Array & | operator= (const Array &)=delete |
| |
| 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 FilePath &, idx_type) |
| |
| Array & | set (const float *, size_type) |
| |
| Array & | set (const MultiID &) |
| |
| Array & | set (const OD::String &) |
| |
| Array & | set (const od_int16 *, size_type) |
| |
| Array & | set (const od_int32 *, size_type) |
| |
| Array & | set (const od_int64 *, size_type) |
| |
| Array & | set (const od_uint16 *, size_type) |
| |
| Array & | set (const od_uint32 *, size_type) |
| |
| Array & | set (const TypeSet< double > &) |
| |
| Array & | set (const TypeSet< FilePath > &) |
| |
| Array & | set (const TypeSet< float > &) |
| |
| Array & | set (const TypeSet< MultiID > &) |
| |
| Array & | set (const TypeSet< od_int16 > &) |
| |
| Array & | set (const TypeSet< od_int32 > &) |
| |
| Array & | set (const TypeSet< od_int64 > &) |
| |
| Array & | set (const TypeSet< od_uint16 > &) |
| |
| Array & | set (const TypeSet< od_uint32 > &) |
| |
| Array & | set (const uiString &) |
| |
| Array & | set (const uiStringSet &) |
| |
| Array & | set (double) |
| |
| Array & | set (float) |
| |
| Array & | set (od_int16) |
| |
| Array & | set (od_int32) |
| |
| Array & | set (od_int64) |
| |
| Array & | set (od_uint16) |
| |
| Array & | set (od_uint32) |
| |
| void | setEmpty () override |
| |
| template<class T> |
| OD::JSON::Array & | setVals (const T *vals, size_type sz) |
| |
| size_type | size () const override |
| |
| ValArr & | valArr () |
| |
| const ValArr & | valArr () const |
| |
| bool | validIdx (idx_type) const |
| |
| ValueType | valType () const |
| |
| ValueType | valueType (idx_type) const override |
| |
| 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 |
| |
| void | dumpJSon (BufferString &, bool pretty=false) const |
| |
| bool | isArrayChild (idx_type i) const |
| |
| bool | isNull (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 |
| |
| ValueSet & | operator= (const ValueSet &)=delete |
| |
| uiRetVal | parseJSon (char *buf, int bufsz) |
| |
| uiRetVal | parseJSon (char *buf, int bufsz, bool allowmixedarr) |
| |
| uiRetVal | read (const char *fnm) |
| |
| uiRetVal | read (const char *fnm, bool allowmixedarr) |
| |
| uiRetVal | read (od_istream &) |
| |
| uiRetVal | read (od_istream &, bool allowmixedarr) |
| |
| ValueSet * | top () |
| |
| const ValueSet * | top () const |
| |
| bool | validIdx_ (idx_type idx) const |
| |
| uiRetVal | write (const char *fnm, bool pretty) |
| |
| uiRetVal | write (od_ostream &, bool pretty=false) |
| |
| uiRetVal | writePretty (od_ostream &) |
| |
|
| typedef Gason::JsonNode | GasonNode |
| |
| typedef size_type | idx_type |
| |
| typedef ValArr::size_type | size_type |
| |
| enum | ValueType { Data
, SubArray
, SubObject
, Null
} |
| |
| static ValueSet * | getFromJSon (char *buf, int bufsz, uiRetVal &) |
| |
| static ValueSet * | getFromJSon (char *buf, int bufsz, uiRetVal &, bool allowmixedarr) |
| |
| static ValueSet * | read (const char *fnm, uiRetVal &) |
| |
| static ValueSet * | read (const char *fnm, uiRetVal &, bool allowmixedarr) |
| |
| static ValueSet * | read (od_istream &, uiRetVal &) |
| |
| static ValueSet * | read (od_istream &, uiRetVal &, bool allowmixedarr) |
| |
| static ValueSet * | gtByParse (char *, int, bool allowmixed, uiRetVal &, 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).