VR-Forces 4.0.4 Class Documentation
include/makArchives/DtElementsRecord.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00006 #pragma once
00007 
00008 #include <makArchives/makArchives.h>
00009 #include <makArchives/DtSerialize.h>
00010 #include <makArchives/DtXmlFileIo.h>
00011 #include <makArchives/DtElementDefinitionRecord.h>
00012 
00013 namespace makArchives
00014 {
00015 
00018 class DT_DLL_MAKARCHIVES DtElementsRecord
00019 {
00020 public:
00021    typedef std::vector<DtElementDefinitionRecord> ElementDefinitionRecords;
00022 
00023    DtElementsRecord();
00024 
00025    virtual ~DtElementsRecord();
00026 
00027    void setElementDefinitions(const ElementDefinitionRecords& elementDefinitions);
00028 
00029    const ElementDefinitionRecords& elementDefinitions() const;
00030 
00031 protected:
00032    friend class boost::serialization::access;
00033 
00034    template<class Archive>
00035    void serialize(Archive & ar, const unsigned int version)
00036    {
00037       ar & BOOST_SERIALIZATION_NVP(myElementDefinitions);
00038    }
00039 
00040    ElementDefinitionRecords myElementDefinitions;
00041 };
00042 }
00043 
00044 BOOST_CLASS_VERSION(makArchives::DtElementsRecord, 1)

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)