VR-Forces 4.0.4 Class Documentation
include/makArchives/DtPropSettingsRecord.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2007 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtPropSettingsRecord.h,v $ $Revision: 1.5 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008 
00012 
00013 #ifndef DtPropSettingsRecord_H_ 
00014 #define DtPropSettingsRecord_H_ 
00015 
00016 #include <makArchives/makArchives.h> 
00017 #include <makArchives/DtPropRecord.h>
00018 
00019 namespace makArchives 
00020 {
00024    class DT_DLL_MAKARCHIVES DtPropSettingsRecord
00025    {
00026    public:
00027       typedef std::vector<DtPropRecord> PropRecords;
00028       
00030       DtPropSettingsRecord();
00031 
00033       DtPropSettingsRecord(const PropRecords& records);
00034 
00036       ~DtPropSettingsRecord();
00037 
00039       DtPropSettingsRecord& operator=(const DtPropSettingsRecord& orig);
00040 
00042       const PropRecords& records() const;
00043       PropRecords& records();
00044 
00045    protected:
00047 
00048       friend class boost::serialization::access;
00049 
00053       template<class Archive>
00054          void serialize(Archive & ar, const unsigned int version)
00055       {
00056          ar & BOOST_SERIALIZATION_NVP(myRecords);
00057       }
00058 
00059    protected:
00060       PropRecords myRecords;
00061    };
00062 }
00063 
00064 #endif
00065 

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)