VR-Forces 4.10 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 
9 
10 #ifndef DtFeatureLayerRecord_H_
11 #define DtFeatureLayerRecord_H_
12 
13 #include <makArchives/makArchives.h>
16 
17 namespace makArchives
18 {
19 
23  {
24 
25  public:
26 
29 
32 
33  bool operator==(const DtFeatureLayerRecord& orig) const;
34  bool operator!=(const DtFeatureLayerRecord& orig) const;
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:22
const char * filename
Definition: ioapi.h:38
DtPropRecords myPropRecords
Definition: DtFeatureLayerRecord.h:81
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
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.
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)