HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_OpVerb.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_OpVerb_h__
10 #define __HOM_OpVerb_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 class HOM_Geometry;
16 class HOM_OpNode;
17 
18 SWIGOUT(%rename(OpVerb) HOM_OpVerb;)
19 
21 {
22 public:
24  { HOM_CONSTRUCT_OBJECT(this) }
25  HOM_OpVerb(const HOM_OpVerb &op_verb)
26  { HOM_CONSTRUCT_OBJECT(this) }
27  virtual ~HOM_OpVerb()
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  // We need a quick way to get the OP_OpTypeId from C++ code so we know
31  // which subclass of HOM_Node we should cast to, so that's why
32  // opTypeIdAsInt() exists.
34  virtual int opTypeIdAsInt() = 0;
35 
36  virtual std::string __repr__() = 0;
37 
38  virtual void loadParmsFromNode(HOM_OpNode &opnode) = 0;
39  virtual void loadParmsFromNodeAtTime(HOM_OpNode &opnode,double time) = 0;
40 
41  virtual std::map<std::string, hboost::any> parms() = 0;
42  virtual void setParms(const std::map<std::string, hboost::any> &p) = 0;
43 
44  virtual int minNumInputs() = 0;
45 };
46 
47 #endif
48 
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1343
GT_API const UT_StringHolder time
virtual int opTypeIdAsInt()=0
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
virtual ~HOM_OpVerb()
Definition: HOM_OpVerb.h:27
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1342
GA_API const UT_StringHolder parms
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_OpVerb(const HOM_OpVerb &op_verb)
Definition: HOM_OpVerb.h:25