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 * 123 Front Street West, Suite 1401 00009 * Toronto, Ontario 00010 * Canada M5J 2M2 00011 * 416-504-9876 00012 */ 00013 00014 #ifndef __SIM_ConAnchorObjPointIdPos_h__ 00015 #define __SIM_ConAnchorObjPointIdPos_h__ 00016 00017 #include "SIM_API.h" 00018 #include "SIM_ConAnchorObjPointPos.h" 00019 00020 class SIM_API SIM_ConAnchorObjPointIdPos : public SIM_ConAnchorObjPointPos 00021 { 00022 public: 00023 /// Store the point number if we are anchored to a geometry point. 00024 GETSET_DATA_FUNCS_I(SIM_NAME_POINTID, PointId); 00025 /// The name of the attribute used to identify the point we want. 00026 GETSET_DATA_FUNCS_S(SIM_NAME_IDATTRIBNAME, IdAttribName); 00027 00028 protected: 00029 explicit SIM_ConAnchorObjPointIdPos(const SIM_DataFactory *f); 00030 virtual ~SIM_ConAnchorObjPointIdPos(); 00031 00032 virtual int getPointSubclass() const; 00033 virtual void setPointSubclass(int ptnum); 00034 00035 private: 00036 static const SIM_DopDescription *getDopDescription(); 00037 00038 DECLARE_STANDARD_GETCASTTOTYPE(); 00039 DECLARE_DATAFACTORY(SIM_ConAnchorObjPointIdPos, 00040 SIM_ConAnchorObjPointPos, 00041 "Anchor: Object Point Id Position", 00042 getDopDescription()); 00043 }; 00044 00045 #endif
1.5.9