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  bool use_last_cook_context_options = true,
39  int lop_output_index = -1)
40  { return HOMincRef((InterpreterObject)self->
41  opaqueExpandedPaths(lopnode, stage, return_ancestors,
42  fallback_to_new_paths, use_last_cook_context_options,
43  lop_output_index)); }
44  SWIGOUT(%kwargs firstPath;)
45  InterpreterObject firstPath(HOM_LopNode *lopnode = nullptr,
46  bool return_ancestors = false,
47  bool fallback_to_new_paths = false,
48  InterpreterObject stage = nullptr,
49  bool use_last_cook_context_options = true,
50  int lop_output_index = -1)
51  { return HOMincRef((InterpreterObject)self->
52  opaqueFirstPath(lopnode, stage, return_ancestors,
53  fallback_to_new_paths, use_last_cook_context_options,
54  lop_output_index)); }
55  SWIGOUT(%kwargs collectionAwarePaths;)
56  InterpreterObject collectionAwarePaths(HOM_LopNode *lopnode = nullptr,
57  bool fallback_to_new_paths = false,
58  InterpreterObject stage = nullptr,
59  bool use_last_cook_context_options = true,
60  int lop_output_index = -1)
61  { return HOMincRef((InterpreterObject)self->
62  opaqueCollectionAwarePaths(lopnode, stage,
63  fallback_to_new_paths, use_last_cook_context_options,
64  lop_output_index)); }
65  SWIGOUT(%kwargs newPaths;)
66  InterpreterObject newPaths(HOM_LopNode *lopnode = nullptr,
67  InterpreterObject stage = nullptr,
68  bool use_last_cook_context_options = true,
69  int lop_output_index = -1)
70  { return HOMincRef((InterpreterObject)self->
71  opaqueNewPaths(lopnode, stage, use_last_cook_context_options,
72  lop_output_index)); }
73 }
74 #else
76  { HOM_CONSTRUCT_OBJECT(this) }
78  { HOM_DESTRUCT_OBJECT(this) }
79 
80  SWIGOUT(%ignore opaqueExpandedPaths;)
81  virtual void *opaqueExpandedPaths(HOM_LopNode *lopnode,
82  void *stage,
83  bool return_ancestors,
84  bool fallback_to_new_paths,
85  bool use_last_cook_context_options,
86  int lop_output_index) = 0;
87  SWIGOUT(%ignore opaqueFirstPath;)
88  virtual void *opaqueFirstPath(HOM_LopNode *lopnode,
89  void *stage,
90  bool return_ancestors,
91  bool fallback_to_new_paths,
92  bool use_last_cook_context_options,
93  int lop_output_index) = 0;
94  SWIGOUT(%ignore opaqueCollectionAwarePaths;)
95  virtual void *opaqueCollectionAwarePaths(HOM_LopNode *lopnode,
96  void *stage,
97  bool fallback_to_new_paths,
98  bool use_last_cook_context_options,
99  int lop_output_index) = 0;
100  SWIGOUT(%ignore opaqueNewPaths;)
101  virtual void *opaqueNewPaths(HOM_LopNode *lopnode,
102  void *stage,
103  bool use_last_cook_context_options,
104  int lop_output_index) = 0;
105 #endif
106 
107  virtual bool operator==(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
108  virtual bool operator!=(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
109 
110  virtual int __hash__() = 0;
111  virtual std::string __repr__() = 0;
112 
113  virtual std::string lastError() = 0;
114  virtual HOM_EnumValue *lastErrorSeverity() = 0;
115  virtual bool lastMayBeTimeVarying() = 0;
116 
117  virtual std::string pathPattern() = 0;
118  virtual void setPathPattern(const char *pattern) = 0;
119 
120  virtual int traversalDemands() = 0;
121  virtual void setTraversalDemands(int demands) = 0;
122 
123  virtual std::string icon() = 0;
124  virtual void setIcon(const char *icon) = 0;
125 
126  SWIGOUT(%newobject sourceNode;)
127  virtual HOM_Node *sourceNode() = 0;
128  virtual int sourceNodeInputIndex() = 0;
129 };
130 
131 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1343
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
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:1342
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