11 #ifndef __UT_JSONValueArray__
12 #define __UT_JSONValueArray__
56 {
return !(*
this == arr); }
129 template <
typename ARRAY_T>
130 bool importArray(ARRAY_T &
array)
const;
void bumpRef(int d)
Reference count (for shared arrays).
UT_JSONValueMap stores a map/dictionary of UT_JSONValue objects.
UT_JSONValueArray stores a list of UT_JSONValue objects.
std::size_t SYS_HashType
Define the type for hash values.
SYS_FORCE_INLINE const UT_JSONValue * operator()(int64 i) const
Access a const entry by index.
Class which writes ASCII or binary JSON streams.
bool operator!=(const UT_JSONValueArray &arr) const
SYS_FORCE_INLINE const UT_JSONValue * operator[](int64 i) const
Access a const entry by index.
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
#define SYS_NO_DISCARD_RESULT
SYS_FORCE_INLINE int64 entries() const
Return the number of entries in the array.
SYS_FORCE_INLINE UT_JSONValue * operator[](int64 i)
Access an entry by index.
Class to store JSON objects as C++ objects.
SYS_FORCE_INLINE UT_JSONValue * operator()(int64 i)
Access an entry by index.
int64 append(UT_JSONValue *v)
Add an element to the array.
SYS_FORCE_INLINE int getRef() const
Get the number of references to this array.
SYS_FORCE_INLINE int64 size() const
Return size of the array.