VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFeatureLayerRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtFeatureLayerRecord.h,v $ $Revision: 1.9 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtFeatureLayerRecord_H_
14 #define DtFeatureLayerRecord_H_
15 
16 #include <makArchives/makArchives.h>
19 
20 namespace makArchives
21 {
22 
26  {
27 
28  public:
29 
32 
35 
37  DtFeatureLayerRecord& operator=(const DtFeatureLayerRecord& orig);
38 
41 
43  const std::string& filename() const;
44 
46  void setFilename(const std::string& name);
47 
49  const DtAddPropsRuleRecordVector& addPropsRuleRecordVector() const;
50 
52  void setAddPropsRuleRecordVector(const DtAddPropsRuleRecordVector& ruleVec);
53 
55  const DtPropRecords& propRecords() const;
56 
58  void setPropRecords(const DtPropRecords& records);
59 
60 
61  protected:
62 
63  friend class boost::serialization::access;
64 
68  template<class Archive>
69  void serialize(Archive & ar, const unsigned int version)
70  {
71  ar & BOOST_SERIALIZATION_NVP(myFilename);
72  ar & BOOST_SERIALIZATION_NVP(myAddPropsRuleRecordVector);
73  ar & BOOST_SERIALIZATION_NVP(myPropRecords);
74 
75  }
76 
77  protected:
78 
79  std::string myFilename;
82  };
83 }
84 
85 #endif
86 
DtAddPropsRuleRecordVector myAddPropsRuleRecordVector
Definition: DtFeatureLayerRecord.h:80
std::vector< DtAddPropsRuleRecord > DtAddPropsRuleRecordVector
Definition: DtAddPropsRuleRecord.h:96
std::vector< DtPropRecord > DtPropRecords
Definition: DtPropRecord.h:137
A DtFeatureLayerRecord contains the information to add features from a single source file and ruleset...
Definition: DtFeatureLayerRecord.h:25
const char * filename
Definition: ioapi.h:38
DtPropRecords myPropRecords
Definition: DtFeatureLayerRecord.h:81
Contains DLL export macros.
Contains makArchives::DtPropRecord class.
std::string myFilename
Definition: DtFeatureLayerRecord.h:79
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: DtFeatureLayerRecord.h:69
Contains makArchives::DtAddPropsRuleRecord class.
#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)