HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_LopViewportLoadMasks.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_LopViewportLoadMasks_h__
10 #define __HOM_LopViewportLoadMasks_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 #include <string>
18 #include <map>
19 
20 class HOM_LopNode;
21 
22 SWIGOUT(%rename(LopViewportLoadMasks) HOM_LopViewportLoadMasks;)
23 
24 SWIGOUT(%feature("notabstract") HOM_LopViewportLoadMasks;)
26 {
27 public:
28 #ifdef SWIG
29 %extend
30 {
32  { return HOM().newLopViewportLoadMasks(); }
33 }
34 #else
36  { HOM_CONSTRUCT_OBJECT(this) }
38  { HOM_DESTRUCT_OBJECT(this) }
39 #endif
40 
43 
44  virtual int __hash__() = 0;
45  virtual std::string __repr__() = 0;
46 
47  virtual void setPopulateAll(bool populate_all = true) = 0;
48  virtual bool populateAll() = 0;
49  virtual std::vector<std::string> populatePaths() = 0;
50  SWIGOUT(%kwargs isPathPopulated;)
51  virtual bool isPathPopulated(const char *path, bool exact_match = true) = 0;
52  virtual void setPopulatePaths(const std::vector<std::string> &paths) = 0;
53  virtual void addPopulatePath(const char *path) = 0;
54  SWIGOUT(%kwargs removePopulatePath;)
55  virtual void removePopulatePath(const char *path,
56  bool remove_children = false) = 0;
57 
58  virtual std::vector<std::string> muteLayers() = 0;
59  virtual bool isLayerMuted(const char *identifier) = 0;
60  virtual void setMuteLayers(const std::vector<std::string> &identifiers) = 0;
61  virtual void addMuteLayer(const char *identifier) = 0;
62  virtual void removeMuteLayer(const char *identifier) = 0;
63 
64  virtual void setLoadAll(bool load_all = true) = 0;
65  virtual bool loadAll() = 0;
66  virtual std::vector<std::string> loadPaths() = 0;
67  SWIGOUT(%kwargs isPathLoaded;)
68  virtual bool isPathLoaded(const char *path, bool exact_match = true) = 0;
69  virtual bool isAnyChildPathLoaded(const char *path) = 0;
70  virtual void setLoadPaths(const std::vector<std::string> &paths) = 0;
71  virtual void addLoadPath(const char *path) = 0;
72  SWIGOUT(%kwargs removeLoadPath;)
73  virtual void removeLoadPath(const char *path,
74  bool remove_children = false) = 0;
75 
76  virtual void setVariantSelectionFallbacks(
77  std::map<std::string, std::vector<std::string>> fallbacks) = 0;
78  virtual std::map<std::string, std::vector<std::string>>
79  variantSelectionFallbacks() = 0;
80 
81  virtual std::string dumps() = 0;
82  virtual bool loads(const char *masks_str) = 0;
83 };
84 
85 #endif
virtual HOM_LopViewportLoadMasks * newLopViewportLoadMasks()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
GLsizei const GLchar *const * path
Definition: glcorearb.h:3341
#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:1302
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:556
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