![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtFeatureLayerRecord.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtFeatureLayerRecord_H_ 00014 #define DtFeatureLayerRecord_H_ 00015 00016 #include <makArchives/makArchives.h> 00017 #include <makArchives/DtAddPropsRuleRecord.h> 00018 #include <makArchives/DtPropRecord.h> 00019 00020 namespace makArchives 00021 { 00022 00025 class DT_DLL_MAKARCHIVES DtFeatureLayerRecord 00026 { 00027 00028 public: 00029 00031 DtFeatureLayerRecord(); 00032 00034 DtFeatureLayerRecord(const DtFeatureLayerRecord& orig); 00035 00037 DtFeatureLayerRecord& operator=(const DtFeatureLayerRecord& orig); 00038 00040 ~DtFeatureLayerRecord(); 00041 00043 const std::string& filename() const; 00044 00046 void setFilename(const std::string& name); 00047 00049 const DtAddPropsRuleRecordVector& addPropsRuleRecordVector() const; 00050 00052 void setAddPropsRuleRecordVector(const DtAddPropsRuleRecordVector& ruleVec); 00053 00055 const DtPropRecords& propRecords() const; 00056 00058 void setPropRecords(const DtPropRecords& records); 00059 00060 00061 protected: 00062 00063 friend class boost::serialization::access; 00064 00068 template<class Archive> 00069 void serialize(Archive & ar, const unsigned int version) 00070 { 00071 ar & BOOST_SERIALIZATION_NVP(myFilename); 00072 ar & BOOST_SERIALIZATION_NVP(myAddPropsRuleRecordVector); 00073 ar & BOOST_SERIALIZATION_NVP(myPropRecords); 00074 00075 } 00076 00077 protected: 00078 00079 std::string myFilename; 00080 DtAddPropsRuleRecordVector myAddPropsRuleRecordVector; 00081 DtPropRecords myPropRecords; 00082 }; 00083 } 00084 00085 #endif 00086