HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_DopRelationship.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_DopRelationship_h__
10 #define __HOM_DopRelationship_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_DopData.h"
14 
15 class HOM_DopObject;
16 
17 SWIGOUT(%rename(DopRelationship) HOM_DopRelationship;)
18 
19 class HOM_API HOM_DopRelationship : virtual public HOM_DopData
20 {
21 public:
23  { HOM_CONSTRUCT_OBJECT(this) }
24  HOM_DopRelationship(const HOM_DopRelationship &doprelationship)
25  : HOM_DopData(doprelationship)
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  std::string __repr__() override = 0;
31 
32  virtual std::string name() = 0;
33 
34  virtual bool matches(const char *pattern) = 0;
35 
36  virtual void setGroup(const std::vector<HOM_DopObject *> &objects) = 0;
37 
38  virtual void setAffectorGroup(const std::vector<HOM_DopObject *> &objects) = 0;
39 
40  SWIGOUT(%newobject relationshipTypeData;)
41  virtual HOM_DopData *relationshipTypeData() = 0;
42 };
43 
44 #endif
45 
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1303
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:349
#define HOM_API
Definition: HOM_API.h:13
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1302
GLuint const GLchar * name
Definition: glcorearb.h:786
GLushort pattern
Definition: glad.h:2583
void setGroup(PointDataTreeT &tree, const PointIndexTreeT &indexTree, const std::vector< short > &membership, const Name &group, const bool remove)
Sets group membership from a PointIndexTree-ordered vector.
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_DopRelationship(const HOM_DopRelationship &doprelationship)
virtual bool matches(const char *pattern)=0