VR-Forces 4.6 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 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)