HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_LopInstanceIdRule.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_LopInstanceIdRule_h__
10 #define __HOM_LopInstanceIdRule_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_Module.h"
16 #include "HOM_PtrOrNull.h"
17 
18 class HOM_LopNode;
19 
20 SWIGOUT(%rename(LopInstanceIdRule) HOM_LopInstanceIdRule;)
21 
22 SWIGOUT(%feature("notabstract") HOM_LopInstanceIdRule;)
24 {
25 public:
26 #ifdef SWIG
27 %extend
28 {
30  { return HOM().newLopInstanceIdRule(); }
31 }
32 #else
34  { HOM_CONSTRUCT_OBJECT(this) }
36  { HOM_DESTRUCT_OBJECT(this) }
37 #endif
38 
39  virtual bool operator==(HOM_PtrOrNull<HOM_LopInstanceIdRule> rule) = 0;
40  virtual bool operator!=(HOM_PtrOrNull<HOM_LopInstanceIdRule> rule) = 0;
41 
42  virtual int __hash__() = 0;
43  virtual std::string __repr__() = 0;
44 
45  virtual std::vector<int> instanceIds(
46  HOM_LopNode *lopnode) = 0;
47 
48  virtual std::string primPath() = 0;
49  virtual void setPrimPath(const char *primpath) = 0;
50 
51  virtual std::string instanceIdPattern() = 0;
52  virtual void setInstanceIdPattern(const char *pattern) = 0;
53 };
54 
55 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
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
int __hash__() override=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
virtual HOM_LopInstanceIdRule * newLopInstanceIdRule()=0
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
GLushort pattern
Definition: glad.h:2583
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_API HOM_Module & HOM()
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:542