9 #ifndef __PDGT_VALUE_H__
10 #define __PDGT_VALUE_H__
58 void setFloatValue(
fpreal float_value);
59 void setIntValue(
exint int_value);
60 void setBoolValue(
bool bool_value);
61 void setStringValue(
const char* str_value);
65 void setValue(
fpreal float_value);
66 void setValue(
exint int_value);
67 void setValue(
int int_value);
68 void setValue(
bool bool_value);
69 void setValue(
const char* str_value);
80 exint intValue()
const;
81 bool boolValue()
const;
93 bool quoted=
true)
const;
96 static void fromJSONArray(
120 template <
typename T>
121 struct DefaultClearer;
129 {
return value.
valid(); }
132 static const bool clearNeedsDestruction =
false;
static void clearConstruct(PDGT_Value *p)
GLsizei const GLfloat * value
UT_JSONValueArray stores a list of UT_JSONValue objects.
Class which writes ASCII or binary JSON streams.
OPENVDB_API void initialize()
Global registration of native Grid, Transform, Metadata and Point attribute types. Also initializes blosc (if enabled).
void setDataType(DataType data_type, bool initialize=false)
Class to store JSON objects as C++ objects.
static bool isClear(const PDGT_Value &value)
HUSD_API const char * dataType()
static void clear(PDGT_Value &value)