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 {
30  HOM_LopSelectionRule(const char *pattern = nullptr)
31  { return HOM().newLopSelectionRule(pattern); }
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  InterpreterObject stage = nullptr)
38  { return HOMincRef((InterpreterObject)self->
39  opaqueExpandedPaths(lopnode, stage, return_ancestors,
40  fallback_to_new_paths)); }
41  SWIGOUT(%kwargs firstPath;)
42  InterpreterObject firstPath(HOM_LopNode *lopnode = nullptr,
43  bool return_ancestors = false,
44  bool fallback_to_new_paths = false,
45  InterpreterObject stage = nullptr)
46  { return HOMincRef((InterpreterObject)self->
47  opaqueFirstPath(lopnode, stage, return_ancestors,
48  fallback_to_new_paths)); }
49  SWIGOUT(%kwargs collectionAwarePaths;)
50  InterpreterObject collectionAwarePaths(HOM_LopNode *lopnode = nullptr,
51  bool fallback_to_new_paths = false,
52  InterpreterObject stage = nullptr)
53  { return HOMincRef((InterpreterObject)self->
54  opaqueCollectionAwarePaths(lopnode, stage,
55  fallback_to_new_paths)); }
56  SWIGOUT(%kwargs newPaths;)
57  InterpreterObject newPaths(HOM_LopNode *lopnode = nullptr,
58  InterpreterObject stage = nullptr)
59  { return HOMincRef((InterpreterObject)self->
60  opaqueNewPaths(lopnode, stage)); }
61 }
62 #else
64  { HOM_CONSTRUCT_OBJECT(this) }
66  { HOM_DESTRUCT_OBJECT(this) }
67 
68  SWIGOUT(%ignore opaqueExpandedPaths;)
69  virtual void *opaqueExpandedPaths(HOM_LopNode *lopnode = nullptr,
70  void *stage = nullptr,
71  bool return_ancestors = false,
72  bool fallback_to_new_paths = false) = 0;
73  SWIGOUT(%ignore opaqueFirstPath;)
74  virtual void *opaqueFirstPath(HOM_LopNode *lopnode = nullptr,
75  void *stage = nullptr,
76  bool return_ancestors = false,
77  bool fallback_to_new_paths = false) = 0;
78  SWIGOUT(%ignore opaqueCollectionAwarePaths;)
79  virtual void *opaqueCollectionAwarePaths(
80  HOM_LopNode *lopnode = nullptr,
81  void *stage = nullptr,
82  bool fallback_to_new_paths = false) = 0;
83  SWIGOUT(%ignore opaqueNewPaths;)
84  virtual void *opaqueNewPaths(
85  HOM_LopNode *lopnode = nullptr,
86  void *stage = nullptr) = 0;
87 #endif
88 
89  virtual bool operator==(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
90  virtual bool operator!=(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
91 
92  virtual int __hash__() = 0;
93  virtual std::string __repr__() = 0;
94 
95  virtual std::string lastError() = 0;
96  virtual HOM_EnumValue *lastErrorSeverity() = 0;
97  virtual bool lastMayBeTimeVarying() = 0;
98 
99  virtual std::string pathPattern() = 0;
100  virtual void setPathPattern(const char *pattern) = 0;
101 
102  virtual int traversalDemands() = 0;
103  virtual void setTraversalDemands(int demands) = 0;
104 
105  virtual std::string icon() = 0;
106  virtual void setIcon(const char *icon) = 0;
107 
108  SWIGOUT(%newobject sourceNode;)
109  virtual HOM_Node *sourceNode() = 0;
110  virtual int sourceNodeInputIndex() = 0;
111 };
112 
113 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
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:352
virtual HOM_LopSelectionRule * newLopSelectionRule(const char *pattern=nullptr)=0
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
int __hash__() override=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
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