8 #ifndef __SIM_Relationship_h__
9 #define __SIM_Relationship_h__
17 class SIM_SimulationState;
54 const SIM_Data *getConstRelationshipTypeData()
const;
71 int getGroupEntries()
const;
75 bool getGroupHasObject(
const SIM_Object *
object)
const;
91 int getAffGroupEntries()
const;
93 const SIM_Object *getAffGroupObject(
int index)
const;
95 bool getAffGroupHasObject(
const SIM_Object *
object)
const;
118 const char *
pattern)
const override;
126 void setName(
const char *
name);
128 void clearAllGroupReferences();
130 void setAllGroupReferences();
132 void clearAllAffGroupReferences();
134 void setAllAffGroupReferences();
136 const SIM_SimulationState *mySimulationState;
140 friend class SIM_SimulationState;
virtual void makeEqualSubclass(const SIM_Data *source)
#define DECLARE_STANDARD_GETCASTTOTYPE()
#define DECLARE_CLASSNAME(DataClass, SuperClass)
virtual bool loadSubclass(UT_IStream &is)
virtual SIM_Query * createQueryObjectSubclass() const
virtual int64 getMemorySizeSubclass() const
virtual bool getMatchesStringSubclass(const char *pattern) const =0
Holds pointers to a number of SIM_Object objects.
GLsizei GLsizei GLchar * source
virtual void saveSubclass(std::ostream &os) const
GLuint const GLchar * name
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.
virtual void getRootDataIdSubclass(SIM_RootDataId &id) const =0
virtual void initializeSubclass()