9 #ifndef __HOM_DopData_h__
10 #define __HOM_DopData_h__
43 virtual bool isFrozen() = 0;
47 virtual int __hash__() = 0;
60 virtual std::vector<std::string> recordTypes() = 0;
63 virtual HOM_DopRecord *record(
const char *record_type,
int record_index = 0) = 0;
66 virtual HOM_IterableList<HOM_DopRecord> *records(
const char *record_type) = 0;
73 SWIGOUT(%newobject findSubData;)
74 virtual HOM_DopData *findSubData(
const char *data_spec) = 0;
76 SWIGOUT(%kwargs findAllSubData;)
78 findAllSubData(
const char *data_spec,
bool recurse=
false) = 0;
83 const char *data_name,
const char *data_type=
"SIM_EmptyData",
84 bool avoid_name_collisions=
false) = 0;
87 virtual void attachSubData(
88 HOM_DopData &hom_new_subdata,
const char *new_data_name,
89 bool avoid_name_collisions=
false) = 0;
91 virtual void removeSubData(
const char *data_spec) = 0;
93 virtual void copyContentsFrom(
HOM_DopData &hom_data) = 0;
95 virtual void *_asVoidPointer() = 0;
98 virtual HOM_Geometry *fieldGeometry(
const char *data_name) = 0;
102 virtual HOM_Geometry *geometry(
const char *data_name=NULL) = 0;
104 SWIGOUT(%newobject editableGeometry;)
105 SWIGOUT(%kwargs editableGeometry;)
107 const char *data_name=NULL) = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
string __repr__(VtArray< T > const &self)
HOM_DopData(const HOM_DopData &data)
#define HOM_CONSTRUCT_OBJECT(pointer)
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HUSD_API const char * dataType()
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.