![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: extMtlParamDbEntry.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef DtExtMtlParameterDbEntry_H_ 00010 #define DtExtMtlParameterDbEntry_H_ 00011 00012 #include "vrfobjparam/mtlParamDbEntry.h" 00013 #include "extMtl/extDtcRead.h" 00014 00015 //class DtExtMtlParameterDbEntry: 00016 // 00017 //Instances of DtExtMtlParameterDbEntry are the data records used in a 00018 //DtMtlParameterDb parameter database. It holds a 00019 //DtVrfObjectParameter* object and the name of a parameter entry 00020 //file (*.ope) from which a DtVrfObjectParameter object can be loaded. 00021 00022 class DtExtMtlParameterDbEntry : public DtMtlParameterDbEntry 00023 { 00024 public: 00025 00026 //default constructor 00027 DtExtMtlParameterDbEntry(); 00028 00029 //destructor 00030 virtual ~DtExtMtlParameterDbEntry(); 00031 00032 //This the map of DtlObjPtr to DtReaderWriter comments that we build 00033 //as we go when reading in a file. This map is consulted and used to 00034 //associate the comment with the object before writing out to file. 00035 virtual void setObjectCommentMap(DtlObjStringMap* objectCommentMap); 00036 00037 //Override to call DtExtDtcRead() instead of DtcRead, so that we can 00038 //build up the map of DtReaderWriter comments as we load the file. 00039 virtual DtVrfObjectParameters* readParameterEntry(FILE* fp); 00040 00041 private: 00042 00043 //copy constructor - not implemented 00044 DtExtMtlParameterDbEntry(const DtExtMtlParameterDbEntry& orig); 00045 00046 //assignment operator - not implemented 00047 DtExtMtlParameterDbEntry& operator=(const DtExtMtlParameterDbEntry& orig); 00048 00049 protected: 00050 00051 DtlObjStringMap* myObjectCommentMap; 00052 }; 00053 00054 #endif