VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtModelPreloadRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
12 
13 namespace makArchives
14 {
18  {
19  public:
20 
23 
26 
29 
32 
34  typedef std::vector<std::string> ModelPreloads;
35 
37  void swap(DtModelPreloadRecord& other);
38 
40  void setModels(const ModelPreloads& models);
41 
43  const ModelPreloads& models() const;
44 
45  protected:
46 
48  friend class boost::serialization::access;
49 
53  template<class Archive>
54  void serialize(Archive & ar, const unsigned int version)
55  {
56  ar & BOOST_SERIALIZATION_NVP(myModels);
57  }
58 
59  protected:
60 
62  };
63 };
64 
ModelPreloads myModels
Definition: DtModelPreloadRecord.h:61
DtModelPreloadRecord.
Definition: DtModelPreloadRecord.h:17
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: DtModelPreloadRecord.h:54
Contains DLL export macros.
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 2)
std::vector< std::string > ModelPreloads
List of models for preloading.
Definition: DtModelPreloadRecord.h:34
#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)