HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_SeparatorParmTemplate.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_SeparatorParmTemplate_h__
10 #define __HOM_SeparatorParmTemplate_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_ParmTemplate.h"
14 
15 SWIGOUT(%feature("notabstract") HOM_SeparatorParmTemplate;)
16 SWIGOUT(%rename(SeparatorParmTemplate) HOM_SeparatorParmTemplate;)
17 
19 {
20 public:
21 #ifdef SWIG
22 %extend {
24  HOM_SeparatorParmTemplate(
25  const char *name,
26  bool is_hidden = false,
27  const std::map<std::string, std::string> &tags =
29  const std::map<HOM_EnumValue, std::string> &conditionals =
31  )
32  {
33  return HOM().newSeparatorParmTemplate(name, is_hidden, tags,
34  conditionals);
35  }
36 };
37 #else
39  { HOM_CONSTRUCT_OBJECT(this) }
40 
42  : HOM_ParmTemplate(parm_template)
43  { HOM_CONSTRUCT_OBJECT(this) }
44 #endif
45 
47  { HOM_DESTRUCT_OBJECT(this) }
48 
49  // Let swig think we're overriding __repr__ for this class so it doesn't
50  // provide its own __repr__.
51  SWIGOUT(virtual std::string __repr__();)
52 };
53 
54 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1056
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:344
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1055
GLuint const GLchar * name
Definition: glcorearb.h:785
std::map< HOM_EnumValue, std::string > HOM_StdMapEnumString
Definition: HOM_Module.h:1062
HOM_SeparatorParmTemplate(const HOM_SeparatorParmTemplate &parm_template)
virtual HOM_SeparatorParmTemplate * newSeparatorParmTemplate(const char *name, bool is_hidden, const std::map< std::string, std::string > &tags, const std::map< HOM_EnumValue, std::string > &conditionals)=0
HOM_API HOM_Module & HOM()
std::map< std::string, std::string > HOM_StdMapStringString
Definition: HOM_Module.h:1061