9 #ifndef __PDG_ATTRIBUTE_DICT_H__
10 #define __PDG_ATTRIBUTE_DICT_H__
31 PDG_AttributeType::eDictArray,
33 UT_Array<UT_OptionsHolder>>
42 using Base::appendValue;
76 bool pretty_print=
false)
const;
79 bool pretty_print=
false)
const;
86 bool pretty_print=
false)
const;
90 bool pretty_print=
false)
const;
113 void importAttributes(
121 void mergeAttributes(
131 int component)
const;
135 int component)
const;
142 int component)
const;
146 int component)
const;
Class which writes ASCII or binary JSON streams.
**But if you need a result
__hostdev__ void setValue(uint32_t offset, bool v)
virtual bool loadData(const UT_JSONValue &)=0
Loads data from a JSON value.
void setValue(const ArrayType &data)
PDG_AttributeCast
Enumeration of attribute cast results.
virtual bool saveData(UT_JSONWriter &) const =0
Serializes the data to a JSON writer.
GLenum GLsizei GLsizei GLint * values
virtual int64 getMemoryUsage(bool inclusive) const =0
Returns the memory usage of the attribute and its data.
Class to store JSON objects as C++ objects.
virtual PDG_AttributeData * clone() const =0
Deep copies this attribute.
An array of UT_OptionsHolder values.