VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtElementsRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
10 
11 namespace makArchives
12 {
13 
17 {
18 public:
19  typedef std::vector<DtElementDefinitionRecord> ElementDefinitionRecords;
20 
22 
23  virtual ~DtElementsRecord();
24 
25  void setElementDefinitions(const ElementDefinitionRecords& elementDefinitions);
26 
27  void addElementDefinitions(const ElementDefinitionRecords& elementDefinitions);
28 
29  void replaceOrAddElementDefinition(const DtElementDefinitionRecord& elemRec);
30 
31  // Mark all these element definitions are belonging to the hierarchy
32  void setAllIsHierTo(bool isHier);
33 
34  const ElementDefinitionRecords& elementDefinitions() const;
35 
36 protected:
37  friend class boost::serialization::access;
38 
39  template<class Archive>
40  void serialize(Archive & ar, const unsigned int version)
41  {
42  ar & BOOST_SERIALIZATION_NVP(myElementDefinitions);
43  }
44 
46 };
47 }
48 
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 2)
void serialize(Archive &ar, const unsigned int version)
Definition: DtElementsRecord.h:40
Record containing a collection of element definition records.
Definition: DtElementsRecord.h:16
ElementDefinitionRecords myElementDefinitions
Definition: DtElementsRecord.h:45
Record for an element definition (new type)
Definition: DtElementDefinitionRecord.h:90
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
std::vector< DtElementDefinitionRecord > ElementDefinitionRecords
Definition: DtElementsRecord.h:19

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)