VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDriverRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtDriverRecord_H_
11 #define DtDriverRecord_H_
12 
14 
15 namespace makArchives
16 {
20  {
21  public:
22 
25 
27  DtDriverRecord(const DtDriverRecord& orig);
28 
30  DtDriverRecord& operator=(const DtDriverRecord& orig);
31 
33  ~DtDriverRecord();
34 
36  const std::string& classType() const;
37 
39  void setClassType(const std::string& type);
40 
42  std::map<std::string,std::string>& settings();
44  const std::map<std::string,std::string>& settings() const;
46 
47  protected:
49 
50  friend class boost::serialization::access;
51 
55  template<class Archive>
56  void serialize(Archive & ar, const unsigned int version)
57  {
58  ar & BOOST_SERIALIZATION_NVP(myType);
59  ar & BOOST_SERIALIZATION_NVP(mySettings);
60  }
61 
62 
63  protected:
64 
65  std::string myType;
66  std::map<std::string,std::string> mySettings;
67  };
68 }
69 
70 #endif
71 
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: DtDriverRecord.h:56
Contains DLL export macros.
A record for saving out a driver instance.
Definition: DtDriverRecord.h:19
std::string myType
Definition: DtDriverRecord.h:65
std::map< std::string, std::string > mySettings
Definition: DtDriverRecord.h:66
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)