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_LopNode;
19 
20 SWIGOUT(%rename(LopSelectionRule) HOM_LopSelectionRule;)
21 
22 SWIGOUT(%feature("notabstract") HOM_LopSelectionRule;)
24 {
25 public:
26 #ifdef SWIG
27 %extend
28 {
30  { return HOM().newLopSelectionRule(); }
31 
32  InterpreterObject expandedPaths(HOM_LopNode *lopnode,
33  bool return_ancestors=false)
34  { return HOMincRef((InterpreterObject)self->
35  opaqueExpandedPaths(lopnode, return_ancestors)); }
36  InterpreterObject collectionAwarePaths(HOM_LopNode *lopnode)
37  { return HOMincRef((InterpreterObject)self->
38  opaqueCollectionAwarePaths(lopnode)); }
39 }
40 #else
42  { HOM_CONSTRUCT_OBJECT(this) }
44  { HOM_DESTRUCT_OBJECT(this) }
45 
46  SWIGOUT(%ignore opaqueExpandedPaths;)
47  virtual void *opaqueExpandedPaths(HOM_LopNode *lopnode,
48  bool return_ancestors=false) = 0;
49  SWIGOUT(%ignore opaqueCollectionAwarePaths;)
50  virtual void *opaqueCollectionAwarePaths(HOM_LopNode *lopnode) = 0;
51 #endif
52 
53  virtual bool operator==(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
54  virtual bool operator!=(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
55 
56  virtual int __hash__() = 0;
57  virtual std::string __repr__() = 0;
58 
59  virtual std::string lastError() = 0;
60  virtual HOM_EnumValue *lastErrorSeverity() = 0;
61 
62  virtual std::string pathPattern() = 0;
63  virtual void setPathPattern(const char *pattern) = 0;
64 
65  virtual int traversalDemands() = 0;
66  virtual void setTraversalDemands(int demands) = 0;
67 
68  virtual std::string icon() = 0;
69  virtual void setIcon(const char *icon) = 0;
70 };
71 
72 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1210
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:349
#define HOM_API
Definition: HOM_API.h:13
int __hash__() override=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1209
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:563
GLsizei const GLchar *const * string
Definition: glew.h:1844
GLubyte * pattern
Definition: glew.h:5711
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:549
virtual HOM_LopSelectionRule * newLopSelectionRule()=0