HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_SopNodeType.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_SopNodeType_h__
10 #define __HOM_SopNodeType_h__
11 
12 #include "HOM_NodeType.h"
13 
14 class HOM_Selector;
15 
16 SWIGOUT(%rename(SopNodeType) HOM_SopNodeType;)
17 
18 class HOM_API HOM_SopNodeType : virtual public HOM_NodeType
19 {
20 public:
22  { HOM_CONSTRUCT_OBJECT(this) }
23  HOM_SopNodeType(const HOM_SopNodeType &sop_nodetype)
24  : HOM_NodeType(sop_nodetype)
25  { HOM_CONSTRUCT_OBJECT(this) }
26  virtual ~HOM_SopNodeType()
27  { HOM_DESTRUCT_OBJECT(this) }
28 
29  // Let swig know we're overriding __repr__ for this class so it doesn't
30  // provide its own __repr__.
31  SWIGOUT(virtual std::string __repr__() = 0;)
32 
33  virtual std::vector<HOM_ElemPtr<HOM_Selector> > selectors(
34  std::vector<int> selector_indices = std::vector<int>()) = 0;
35 
36  SWIGOUT(%newobject addSelector;)
37  SWIGOUT(%kwargs addSelector;)
38  virtual HOM_Selector *addSelector(const char *name,
39  const char *selector_type,
40  const char *prompt = "Select components",
41  std::vector<HOM_EnumValue *> primitive_types =
42  std::vector<HOM_EnumValue *>(),
43  const char *group_parm_name = NULL,
44  const char *group_type_parm_name = NULL,
45  int input_index = 0,
46  bool input_required = true,
47  bool allow_dragging = false,
48  bool empty_string_selects_all = true) = 0;
49 };
50 
51 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:983
virtual std::string __repr__()=0
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual ~HOM_SopNodeType()
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:982
virtual std::string prompt()=0
GLuint const GLchar * name
Definition: glcorearb.h:785
HOM_SopNodeType(const HOM_SopNodeType &sop_nodetype)