![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: artPartDesc.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef DtSimArtPartDescriptor_H_ 00016 #define DtSimArtPartDescriptor_H_ 00017 00018 #include "vrfutil/rdrWritr.h" 00019 #include "vrfutil/rwInt.h" 00020 #include "vrfutil/rwVector.h" 00021 #include "vrfobjparam/aPrtParamLst.h" 00022 #include <vlpi/disEnums.h> 00023 00024 class DtReaderWriterRegistry; 00025 00030 #include "vrfobjparam/vrfobjparamDefines.h" 00031 class DT_DLL_vrfobjparam DtSimArtPartDescriptor : public DtReaderWriter 00032 { 00033 protected: 00035 DtSimArtPartDescriptor(); 00036 00037 public: 00039 DtSimArtPartDescriptor(const DtString& partName, DtReaderWriterRegistry * 00040 parentRegistry = NULL); 00041 00042 DtSimArtPartDescriptor(const DtSymbolString& partName, 00043 DtReaderWriterRegistry* parentRegistry = NULL); 00044 00046 DtSimArtPartDescriptor(const DtString& partName, 00047 const DtSimArtPartDescriptor& orig, 00048 DtReaderWriterRegistry* parentRegistry = NULL); 00049 00050 DtSimArtPartDescriptor(const DtSymbolString& partName, 00051 const DtSimArtPartDescriptor& orig, 00052 DtReaderWriterRegistry * parentRegistry = NULL); 00053 00055 DtSimArtPartDescriptor& operator=(const DtSimArtPartDescriptor & orig); 00056 00057 virtual ~DtSimArtPartDescriptor(); 00058 00059 virtual DtSimArtPartDescriptor* clone(const DtString& partName, 00060 DtReaderWriterRegistry* parentRegistry = NULL) const; 00061 00062 virtual DtSimArtPartDescriptor* clone(const DtSymbolString& partName, 00063 DtReaderWriterRegistry* parentRegistry = NULL) const; 00064 00067 virtual void setParamList(const DtSimArtPartParamList& paramList); 00068 virtual const DtSimArtPartParamList& paramList() const; 00070 00073 virtual void setPartType(DtArtPartType partType); 00074 virtual DtArtPartType partType() const; 00076 00079 virtual void setParentPartType(DtArtPartType partType); 00080 virtual DtArtPartType parentPartType() const; 00082 00085 virtual void setAttachPoint(const DtVector& attachPoint); 00086 virtual const DtVector& attachPoint() const; 00088 00089 protected: 00090 00094 00099 DtRwInt myPartType; 00100 00107 DtRwInt myParentPartType; 00108 00122 DtRwVector myAttachPoint; 00123 00129 DtSimArtPartParamList myParamList; 00130 00132 }; 00133 00134 #endif 00135 00136 00137