9 #ifndef __PDGT_VALUE_H__
10 #define __PDGT_VALUE_H__
61 void setFloatValue(
fpreal float_value);
62 void setIntValue(
exint int_value);
63 void setBoolValue(
bool bool_value);
64 void setStringValue(
const char* str_value);
72 void setValue(
const char* str_value);
83 exint intValue()
const;
84 bool boolValue()
const;
96 bool quoted=
true)
const;
99 static void fromJSONArray(
123 template <
typename T>
124 struct DefaultClearer;
132 {
return value.
valid(); }
135 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.
__hostdev__ void setValue(uint32_t offset, bool v)
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
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)
LeafData & operator=(const LeafData &)=delete
Class to store JSON objects as C++ objects.
static bool isClear(const PDGT_Value &value)
bool operator!=(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
HUSD_API const char * dataType()
static void clear(PDGT_Value &value)