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 * Jeff Lait 00008 * Side Effects Software Inc 00009 * 123 Front Street West, Suite 1401 00010 * Toronto, Ontario 00011 * Canada M5J 2M2 00012 * 416-504-9876 00013 * 00014 * NAME: SIM_RelationshipEmpty.h ( SIM Library, C++) 00015 * 00016 * COMMENTS: 00017 */ 00018 00019 #ifndef __SIM_RelationshipEmpty__ 00020 #define __SIM_RelationshipEmpty__ 00021 00022 #include "SIM_API.h" 00023 #include "SIM_RelationshipData.h" 00024 00025 /// Defines a relationship between objects that has no specific meaning 00026 /// This will affect solve order without creating any extra semantic 00027 /// information. This is most useful when an implied relationship is 00028 /// present (through dop() expressions, perhaps) which can't be 00029 /// detected by the engine. 00030 class SIM_API SIM_RelationshipEmpty : public SIM_RelationshipData 00031 { 00032 protected: 00033 explicit SIM_RelationshipEmpty(const SIM_DataFactory *factory); 00034 virtual ~SIM_RelationshipEmpty(); 00035 00036 private: 00037 static const SIM_DopDescription *getEmptyDopDescription(); 00038 00039 DECLARE_STANDARD_GETCASTTOTYPE(); 00040 DECLARE_DATAFACTORY(SIM_RelationshipEmpty, 00041 SIM_RelationshipData, 00042 "Empty Relationship", 00043 getEmptyDopDescription()); 00044 }; 00045 00046 #endif 00047
1.5.9