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 #else
34  { HOM_CONSTRUCT_OBJECT(this) }
36  { HOM_DESTRUCT_OBJECT(this) }
37 #endif
38 
39  virtual bool operator==(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
40  virtual bool operator!=(HOM_PtrOrNull<HOM_LopSelectionRule> rule) = 0;
41 
42  virtual int __hash__() = 0;
43  virtual std::string __repr__() = 0;
44 
45  virtual std::vector<std::string> expandedPaths(
46  HOM_LopNode *lopnode) = 0;
47  virtual std::vector<std::string> collectionAwarePaths(
48  HOM_LopNode *lopnode) = 0;
49 
50  virtual std::string pathPattern() = 0;
51  virtual void setPathPattern(const char *pattern) = 0;
52 
53  virtual std::string baseTypeName() = 0;
54  virtual void setBaseTypeName(const char *basetypename) = 0;
55 
56  virtual int traversalDemands() = 0;
57  virtual void setTraversalDemands(int demands) = 0;
58 
59  virtual bool includeAncestors() = 0;
60  virtual void setIncludeAncestors(bool include) = 0;
61 
62  virtual bool includeDescendants() = 0;
63  virtual void setIncludeDescendants(bool include) = 0;
64 };
65 
66 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1133
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
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1132
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:604
virtual int __hash__()=0
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:590
virtual HOM_LopSelectionRule * newLopSelectionRule()=0