VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPropSettingsRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtPropSettingsRecord.h,v $ $Revision: 1.5 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtPropSettingsRecord_H_
14 #define DtPropSettingsRecord_H_
15 
17 
18 namespace makArchives
19 {
24  {
25  public:
26  typedef std::vector<DtPropRecord> PropRecords;
27 
30 
32  DtPropSettingsRecord(const PropRecords& records);
33 
36 
38  DtPropSettingsRecord& operator=(const DtPropSettingsRecord& orig);
39 
41  const PropRecords& records() const;
42  PropRecords& records();
43 
44  protected:
46 
47  friend class boost::serialization::access;
48 
52  template<class Archive>
53  void serialize(Archive & ar, const unsigned int version)
54  {
55  ar & BOOST_SERIALIZATION_NVP(myRecords);
56  }
57 
58  protected:
60  };
61 }
62 
63 #endif
64 
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: DtPropSettingsRecord.h:53
PropRecords myRecords
Definition: DtPropSettingsRecord.h:59
std::vector< DtPropRecord > PropRecords
Definition: DtPropSettingsRecord.h:26
Contains makArchives::DtPropRecord class.
A DtPropSettingsRecord contains the information to restore settings for all scene props...
Definition: DtPropSettingsRecord.h:23
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)