00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects Software Inc. 00008 * 477 Richmond Street West, Suite 1001 00009 * Toronto, Ontario 00010 * Canada M5V 3E7 00011 * 416-504-9876 00012 */ 00013 00014 #ifndef __SIM_RelationshipGroup_h__ 00015 #define __SIM_RelationshipGroup_h__ 00016 00017 #include "SIM_API.h" 00018 #include "SIM_RelationshipData.h" 00019 00020 /// This class defines a relationship between objects that form a group. 00021 /// The SIM_Relationship parent data of a SIM_RelationshipGroup should 00022 /// have the grouped objects in the object group, and the affector group 00023 /// should remain empty. Even if the affector group has objects in it, 00024 /// those objects are ignored, and are not part of the group. 00025 class SIM_API SIM_RelationshipGroup : public SIM_RelationshipData 00026 { 00027 protected: 00028 explicit SIM_RelationshipGroup(const SIM_DataFactory *factory); 00029 virtual ~SIM_RelationshipGroup(); 00030 00031 private: 00032 static const SIM_DopDescription *getGroupDopDescription(); 00033 00034 DECLARE_STANDARD_GETCASTTOTYPE(); 00035 DECLARE_DATAFACTORY(SIM_RelationshipGroup, 00036 SIM_RelationshipData, 00037 "Group Relationship", 00038 getGroupDopDescription()); 00039 }; 00040 00041 #endif 00042
1.5.9