VR-Forces 4.0.4 Class Documentation
include/makArchives/DtDriverRecord.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtDriverRecord.h,v $ $Revision: 1.4 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtDriverRecord_H_
00014 #define DtDriverRecord_H_
00015 
00016 #include <makArchives/makArchives.h>
00017 
00018 namespace makArchives
00019 {
00022    class DT_DLL_MAKARCHIVES DtDriverRecord
00023    {
00024    public:
00025 
00027       DtDriverRecord();
00028 
00030       DtDriverRecord(const DtDriverRecord& orig);
00031 
00033       DtDriverRecord& operator=(const DtDriverRecord& orig);
00034 
00036       ~DtDriverRecord();
00037 
00039       const std::string& classType() const;
00040 
00042       void setClassType(const std::string& type);
00043 
00045 
00046       std::map<std::string,std::string>& settings();
00047       const std::map<std::string,std::string>& settings() const;
00049 
00050    protected:
00052 
00053       friend class boost::serialization::access;
00054 
00058       template<class Archive>
00059       void serialize(Archive & ar, const unsigned int version)
00060       {
00061          ar & BOOST_SERIALIZATION_NVP(myType);
00062          ar & BOOST_SERIALIZATION_NVP(mySettings);
00063       }
00064 
00065 
00066    protected:
00067 
00068       std::string myType;
00069       std::map<std::string,std::string> mySettings;
00070    };
00071 }
00072 
00073 #endif
00074 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)