9 #ifndef __PDG_ATTRIBUTE_DICT_H__
10 #define __PDG_ATTRIBUTE_DICT_H__
32 PDG_AttributeType::eDictArray,
34 UT_Array<UT_OptionsHolder>>
43 using Base::appendValue;
77 bool pretty_print=
false)
const;
80 bool pretty_print=
false)
const;
87 bool pretty_print=
false)
const;
91 bool pretty_print=
false)
const;
114 void importAttributes(
122 void mergeAttributes(
133 int component)
const;
137 int component)
const;
145 int component)
const;
149 int component)
const;
154 exint& query_index)
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.