VR-Forces 4.2 Class Documentation
systemMetaDataEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include "vrfutil/rdrWritr.h"
15 #include "vrfutil/rwString.h"
16 #include "tdbutil/stringKeyFactory.h"
17 
18 #include <memory>
19 
21 
23 typedef DtStringKeyFactoryWithParam<DtSystemMetaDataEntry, const DtString&> DtSystemMetaDataEntryFactory;
24 
29 {
30 public:
32  parentRegistry = NULL);
33 
34  DtSystemMetaDataEntry(const DtString& name, const DtSystemMetaDataEntry& orig,
35  DtReaderWriterRegistry* parentRegistry = 0);
36 
38 
39  virtual ~DtSystemMetaDataEntry();
40 
43  virtual DtString entryType() const = 0;
44 
45  virtual DtSystemMetaDataEntry* clone() const = 0;
46 
49  static DtSystemMetaDataEntry* createMetaDataEntry(const DtString& type);
50 
54 
56  bool operator==(const DtSystemMetaDataEntry&) const;
57  virtual bool compare(const DtSystemMetaDataEntry& rhs) const = 0;
58 
59 protected:
60  static std::auto_ptr<DtSystemMetaDataEntryFactory> theFactory;
61 };

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)