HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_NodeGroup.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_NodeGroup_h__
10 #define __HOM_NodeGroup_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Module.h"
14 #include "HOM_Errors.h"
15 #include "HOM_PtrOrNull.h"
16 #include <string>
17 
18 class HOM_Node;
19 
20 SWIGOUT(%rename(NodeGroup) HOM_NodeGroup;)
21 
23 {
24 public:
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_CONSTRUCT_OBJECT(this) }
29  virtual ~HOM_NodeGroup()
30  { HOM_DESTRUCT_OBJECT(this) }
31 
32  virtual bool operator==(HOM_PtrOrNull<HOM_NodeGroup> node_group) = 0;
33  virtual bool operator!=(HOM_PtrOrNull<HOM_NodeGroup> node_group) = 0;
34 
35  virtual std::string __repr__() = 0;
36 
37  virtual std::string name() = 0;
38 
39  virtual std::vector<HOM_ElemPtr<HOM_Node> > nodes() = 0;
40 
41  SWIGOUT(%newobject parent;)
42  virtual HOM_Node *parent() = 0;
43 
44  virtual void addNode(HOM_Node &node) = 0;
45 
46  virtual void removeNode(HOM_Node &node) = 0;
47 
48  virtual void clear() = 0;
49 
50  virtual void destroy() = 0;
51 
52  SWIGOUT(%kwargs asCode;)
53  virtual std::string asCode(
54  bool save_creation_commands=true,
55  bool save_node_memberships=true,
56  const char *function_name=NULL) = 0;
57 };
58 
59 #endif
virtual std::string __repr__()=0
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:983
virtual void destroy()=0
GLsizei const GLchar *const * string
Definition: glcorearb.h:813
virtual ~HOM_NodeGroup()
Definition: HOM_NodeGroup.h:29
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
virtual HOM_Node * parent()=0
#define HOM_API
Definition: HOM_API.h:13
virtual std::string asCode(bool brief=false, bool recurse=false, bool save_channels_only=false, bool save_creation_commands=true, bool save_keys_in_frames=false, bool save_outgoing_wires=false, bool save_parm_values_only=false, bool save_spare_parms=true, const char *function_name=NULL)=0
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:982
virtual HOM_Node * node(const char *node_path)=0
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
Definition: Mat3.h:610
HOM_NodeGroup(const HOM_NodeGroup &)
Definition: HOM_NodeGroup.h:27
GLuint const GLchar * name
Definition: glcorearb.h:785
virtual std::vector< HOM_ElemPtr< HOM_Node > > nodes(const std::vector< std::string > &node_paths)=0
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
Definition: Mat3.h:596