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