HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_CopVerb.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_CopVerb_h__
10 #define __HOM_CopVerb_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Errors.h"
15 #include "HOM_OpVerb.h"
16 class HOM_Geometry;
17 class HOM_CopNode;
18 
19 SWIGOUT(%rename(CopVerb) HOM_CopVerb;)
20 
21 class HOM_API HOM_CopVerb : virtual public HOM_OpVerb
22 {
23 public:
25  { HOM_CONSTRUCT_OBJECT(this) }
26  HOM_CopVerb(const HOM_CopVerb &cop_verb)
27  : HOM_OpVerb(cop_verb)
28  { HOM_CONSTRUCT_OBJECT(this) }
29  ~HOM_CopVerb() override
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  // Let swig know we're overriding __repr__ for this class so it doesn't
33  // provide its own __repr__.
34  SWIGOUT(virtual std::string __repr__() = 0;)
35 
36  virtual std::map<std::string, hboost::any> execute(
37  const std::map<std::string, hboost::any> &inputs) = 0;
38 };
39 
40 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1343
HOM_CopVerb(const HOM_CopVerb &cop_verb)
Definition: HOM_CopVerb.h:26
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
~HOM_CopVerb() override
Definition: HOM_CopVerb.h:29
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1342
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual std::vector< HOM_ElemPtr< HOM_Node > > inputs()=0