HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_ApexNode.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_ApexNode_h__
10 #define __HOM_ApexNode_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Node.h"
14 
15 SWIGOUT(%rename(ApexNode) HOM_ApexNode;)
16 
18 {
19 public:
21  : HOM_Node()
22  { HOM_CONSTRUCT_OBJECT(this) }
24  : HOM_Node(node)
26  { HOM_CONSTRUCT_OBJECT(this) }
27  ~HOM_ApexNode() override
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  std::string __repr__() override = 0;
31  std::string __str__() override = 0;
32 
33  virtual std::string inputName(int input_index) = 0;
34  virtual void setInputName(int input_index, const char *name) = 0;
35 
36  virtual std::string outputName(int output_index) = 0;
37  virtual void setOutputName(int output_index, const char *name) = 0;
38 
39  virtual std::vector<std::string> inputDataTypes() = 0;
40  virtual std::vector<std::string> outputDataTypes() = 0;
41 
42  virtual bool isSubgraphAsset() = 0;
43 };
44 
45 #endif // __HOM_ApexNode_h__
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
~HOM_ApexNode() override
Definition: HOM_ApexNode.h:27
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
#define HOM_API
Definition: HOM_API.h:13
HOM_ApexNode(const HOM_ApexNode &node)
Definition: HOM_ApexNode.h:23
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
virtual HOM_Node * node(const char *node_path)=0
GLuint const GLchar * name
Definition: glcorearb.h:786
virtual std::string __str__()=0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)