HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_LopSelectionRule.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_LopSelectionRule_h__
10 #define __HOM_LopSelectionRule_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_Node;
19 class HOM_LopNode;
20 
21 SWIGOUT(%rename(LopSelectionRule) HOM_LopSelectionRule;)
22 
23 SWIGOUT(%feature("notabstract") HOM_LopSelectionRule;)
25 {
26 public:
27 #ifdef SWIG
28 %extend
29 {
31  { return HOM().newLopSelectionRule(); }
32 
33  SWIGOUT(%kwargs expandedPaths;)
34  InterpreterObject expandedPaths(HOM_LopNode *lopnode = nullptr,
35  bool return_ancestors = false,
36  bool fallback_to_new_paths = false)
37  { return HOMincRef((InterpreterObject)self->
38  opaqueExpandedPaths(lopnode, return_ancestors,
39  fallback_to_new_paths)); }
40  SWIGOUT(%kwargs firstPath;)
41  InterpreterObject firstPath(HOM_LopNode *lopnode = nullptr,
42  bool return_ancestors = false,
43  bool fallback_to_new_paths = false)
44  { return HOMincRef((InterpreterObject)self->
45  opaqueFirstPath(lopnode, return_ancestors,
46  fallback_to_new_paths)); }
47  SWIGOUT(%kwargs collectionAwarePaths;)
48  InterpreterObject collectionAwarePaths(HOM_LopNode *lopnode = nullptr,
49  bool fallback_to_new_paths = false)
50  { return HOMincRef((InterpreterObject)self->
51  opaqueCollectionAwarePaths(lopnode, fallback_to_new_paths)); }
52  SWIGOUT(%kwargs newPaths;)
53  InterpreterObject newPaths(HOM_LopNode *lopnode = nullptr)
54  { return HOMincRef((InterpreterObject)self->
55  opaqueNewPaths(lopnode)); }
56 }
57 #else
59  { HOM_CONSTRUCT_OBJECT(this) }
61  { HOM_DESTRUCT_OBJECT(this) }
62 
63  SWIGOUT(%ignore opaqueExpandedPaths;)
64  virtual void *opaqueExpandedPaths(HOM_LopNode *lopnode = nullptr,
65  bool return_ancestors = false,
66  bool fallback_to_new_paths = false) = 0;
67  SWIGOUT(%ignore opaqueFirstPath;)
68  virtual void *opaqueFirstPath(HOM_LopNode *lopnode = nullptr,
69  bool return_ancestors = false,
70  bool fallback_to_new_paths = false) = 0;
71  SWIGOUT(%ignore opaqueCollectionAwarePaths;)
72  virtual void *opaqueCollectionAwarePaths(
73  HOM_LopNode *lopnode = nullptr,
74  bool fallback_to_new_paths = false) = 0;
75  SWIGOUT(%ignore opaqueNewPaths;)
76  virtual void *opaqueNewPaths(
77  HOM_LopNode *lopnode = nullptr) = 0;
78 #endif
79 
80  virtual bool operator==(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
81  virtual bool operator!=(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
82 
83  virtual int __hash__() = 0;
84  virtual std::string __repr__() = 0;
85 
86  virtual std::string lastError() = 0;
87  virtual HOM_EnumValue *lastErrorSeverity() = 0;
88  virtual bool lastMayBeTimeVarying() = 0;
89 
90  virtual std::string pathPattern() = 0;
91  virtual void setPathPattern(const char *pattern) = 0;
92 
93  virtual int traversalDemands() = 0;
94  virtual void setTraversalDemands(int demands) = 0;
95 
96  virtual std::string icon() = 0;
97  virtual void setIcon(const char *icon) = 0;
98 
99  SWIGOUT(%newobject sourceNode;)
100  virtual HOM_Node *sourceNode() = 0;
101  virtual int sourceNodeInputIndex() = 0;
102 };
103 
104 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1238
OIIO_API bool rename(string_view from, string_view to, std::string &err)
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:353
virtual HOM_LopSelectionRule * newLopSelectionRule(const char *pattern=nullptr)=0
#define HOM_API
Definition: HOM_API.h:13
int __hash__() override=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1237
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:570
GLubyte * pattern
Definition: glew.h:5741
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:556