HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_CopNode.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 #pragma once
10 
11 #include "HOM_API.h"
12 #include "HOM_BinaryString.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_OpNode.h"
16 
17 SWIGOUT(%rename(CopNode) HOM_CopNode;)
18 
19 class HOM_API HOM_CopNode : virtual public HOM_OpNode
20 {
21 public:
23  : HOM_NetworkMovableItem(HOM_networkItemType::Node)
24  { HOM_CONSTRUCT_OBJECT(this) }
25  HOM_CopNode(const HOM_CopNode &cop_node)
26  : HOM_OpNode(cop_node),
27  HOM_NetworkMovableItem(cop_node)
28  { HOM_CONSTRUCT_OBJECT(this) }
29  ~HOM_CopNode() override
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  virtual bool isBypassed() = 0;
33  virtual void bypass(bool on) = 0;
34  virtual bool isDisplayFlagSet() = 0;
35  virtual void setDisplayFlag(bool on) = 0;
36  virtual bool isTemplateFlagSet() = 0;
37  virtual void setTemplateFlag(bool on) = 0;
38  virtual bool isCompressFlagSet() = 0;
39  virtual void setCompressFlag(bool on) = 0;
40 
41  virtual std::vector<std::string> outputDataTypes() = 0;
42  virtual std::vector<std::string> inputDataTypes() = 0;
43 
44  SWIGOUT(%newobject displayNode;)
45  virtual HOM_Node *displayNode() = 0;
46 
47  // Let swig know we're overriding __repr__ for this class so it doesn't
48  // provide its own __repr__.
49  SWIGOUT(virtual std::string __repr__() = 0;)
50 };
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
Definition: Node.h:52
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
~HOM_CopNode() override
Definition: HOM_CopNode.h:29
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
HOM_CopNode(const HOM_CopNode &cop_node)
Definition: HOM_CopNode.h:25
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)