VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 /******************************************************************************
6 ** $RCSfile: DtDriverRecord.h,v $ $Revision: 1.4 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtDriverRecord_H_
14 #define DtDriverRecord_H_
15 
17 
18 namespace makArchives
19 {
23  {
24  public:
25 
28 
30  DtDriverRecord(const DtDriverRecord& orig);
31 
33  DtDriverRecord& operator=(const DtDriverRecord& orig);
34 
36  ~DtDriverRecord();
37 
39  const std::string& classType() const;
40 
42  void setClassType(const std::string& type);
43 
45 
46  std::map<std::string,std::string>& settings();
47  const std::map<std::string,std::string>& settings() const;
49 
50  protected:
52 
53  friend class boost::serialization::access;
54 
58  template<class Archive>
59  void serialize(Archive & ar, const unsigned int version)
60  {
61  ar & BOOST_SERIALIZATION_NVP(myType);
62  ar & BOOST_SERIALIZATION_NVP(mySettings);
63  }
64 
65 
66  protected:
67 
68  std::string myType;
69  std::map<std::string,std::string> mySettings;
70  };
71 }
72 
73 #endif
74 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)