![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: systemMetaDataEntry.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef systemMetaDataEntry_h 00015 #define systemMetaDataEntry_h 00016 00017 #include "vrfobjparam/vrfobjparamDefines.h" 00018 #include "vrfutil/rdrWritr.h" 00019 #include "vrfutil/rwString.h" 00020 #include "tdbutil/stringKeyFactory.h" 00021 00022 #include <memory> 00023 00024 class DtSystemMetaDataEntry; 00025 00027 typedef DtStringKeyFactoryWithParam<DtSystemMetaDataEntry, const DtString&> DtSystemMetaDataEntryFactory; 00028 00032 class DT_DLL_vrfobjparam DtSystemMetaDataEntry : public DtReaderWriter 00033 { 00034 public: 00035 DtSystemMetaDataEntry(const DtString& name, DtReaderWriterRegistry* 00036 parentRegistry = NULL); 00037 00038 DtSystemMetaDataEntry(const DtString& name, const DtSystemMetaDataEntry& orig, 00039 DtReaderWriterRegistry* parentRegistry = 0); 00040 00041 DtSystemMetaDataEntry& operator=(const DtSystemMetaDataEntry& orig); 00042 00043 virtual ~DtSystemMetaDataEntry(); 00044 00047 virtual DtString entryType() const = 0; 00048 00049 virtual DtSystemMetaDataEntry* clone() const = 0; 00050 00053 static DtSystemMetaDataEntry* createMetaDataEntry(const DtString& type); 00054 00057 static DtSystemMetaDataEntryFactory* factory(); 00058 00059 protected: 00060 static std::auto_ptr<DtSystemMetaDataEntryFactory> theFactory; 00061 }; 00062 00063 00064 #endif