HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_IndexPairPropertyTable.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_IndexPairPropertyTable_h__
10 #define __HOM_IndexPairPropertyTable_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_PtrOrNull.h"
16 #include <string>
17 class HOM_Attrib;
18 
19 SWIGOUT(%rename(IndexPairPropertyTable) HOM_IndexPairPropertyTable;)
20 
22 {
23 public:
25  { HOM_CONSTRUCT_OBJECT(this) }
27  { HOM_CONSTRUCT_OBJECT(this) }
29  { HOM_DESTRUCT_OBJECT(this) }
30 
31  virtual bool operator==(HOM_PtrOrNull<HOM_IndexPairPropertyTable> proptable) = 0;
32  virtual bool operator!=(HOM_PtrOrNull<HOM_IndexPairPropertyTable> proptable) = 0;
33 
34  virtual int __hash__() = 0;
35  virtual std::string __repr__() = 0;
36 
37  SWIGOUT(%newobject attrib;)
38  virtual HOM_Attrib *attrib() = 0;
39 
40  virtual int numIndices() = 0;
41 
42  virtual std::vector<std::string> propertyNames() = 0;
43  virtual HOM_EnumValue *propertyDataType(const char *prop_name) = 0;
44  virtual int propertySize(const char *prop_name) = 0;
45 
46  virtual double floatPropertyValueAtIndex(const char *prop_name, int idx) = 0;
47  virtual std::vector<double> floatListPropertyValueAtIndex(const char *prop_name, int idx) = 0;
48 
49  virtual int intPropertyValueAtIndex(const char *prop_name, int idx) = 0;
50  virtual std::vector<int> intListPropertyValueAtIndex(const char *prop_name, int idx) = 0;
51 
52  virtual std::string stringPropertyValueAtIndex(const char *prop_name, int idx) = 0;
53  virtual std::vector<std::string> stringListPropertyValueAtIndex(const char *prop_name, int idx) = 0;
54 };
55 
56 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
HOM_IndexPairPropertyTable(const HOM_IndexPairPropertyTable &)
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
virtual int __hash__()=0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542