![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSurfaceSettingsRecord.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtSurfaceSettingsRecord_H_ 00014 #define DtSurfaceSettingsRecord_H_ 00015 00016 #include <makArchives/makArchives.h> 00017 #include <map> 00018 00019 namespace makArchives 00020 { 00024 class DT_DLL_MAKARCHIVES DtSurfaceSettingsRecord 00025 { 00026 00027 public: 00028 00030 DtSurfaceSettingsRecord(); 00031 00033 DtSurfaceSettingsRecord(const DtSurfaceSettingsRecord& orig); 00034 00036 DtSurfaceSettingsRecord& operator=(const DtSurfaceSettingsRecord& orig); 00037 00039 ~DtSurfaceSettingsRecord(); 00040 00042 typedef std::map<int, bool> SurfaceVisibleMap; 00043 00045 const SurfaceVisibleMap& surfaceVisibleMap() const; 00046 00048 void setSurfaceVisibleMap(const SurfaceVisibleMap& svMap); 00049 00050 protected: 00051 00052 friend class boost::serialization::access; 00053 00057 template<class Archive> 00058 void serialize(Archive & ar, const unsigned int version) 00059 { 00060 ar & BOOST_SERIALIZATION_NVP(mySurfaceVisibleMap); 00061 } 00062 00063 00064 protected: 00065 00066 SurfaceVisibleMap mySurfaceVisibleMap; 00067 00068 00069 }; 00070 } 00071 00072 #endif 00073