10 #ifndef DtGenericTerrainRecord_H_
11 #define DtGenericTerrainRecord_H_
13 #pragma warning( push )
14 #pragma warning( disable : 4661 )
19 #include <boost/serialization/version.hpp>
20 #include <boost/serialization/set.hpp>
21 #include <boost/serialization/map.hpp>
22 #include <boost/config.hpp>
81 void setParameter(
const std::string& parameterName,
82 const std::string& parameterValue);
88 bool clearParameter(
const std::string& parameterName);
94 const std::string& parameter(
const std::string& parameterName)
const;
102 const std::string* findParameter(
const std::string& parameterName)
const;
107 std::string* findParameter(
const std::string& parameterName);
113 const std::string& type()
const;
117 static std::string cleanName(
const std::string& name);
122 template <
typename Archive>
129 template <
typename Archive>
144 #pragma warning( pop )
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
#define DT_SERIALIZE_BASE(BASE_CLASS)
Serialize the base class implementation.
Definition: DtSerialize.h:161
DtGenericTerrainRecords allow the VR-Forces terrainInterface library to instantiate and configure the...
Definition: DtGenericTerrainRecord.h:34
static const std::string theEmptyString
Definition: DtGenericTerrainRecord.h:39
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
void _serialize(Archive &ar, unsigned int version)
Definition: DtGenericTerrainRecord.h:130
Contains DLL export macros.
void serialize(Archive &ar, unsigned int version)
Definition: DtGenericTerrainRecord.h:123
std::map< std::string, std::string > ParameterMap
Definition: DtGenericTerrainRecord.h:41
std::string myType
Definition: DtGenericTerrainRecord.h:136
SerializableParameterMap myParameters
Definition: DtGenericTerrainRecord.h:137
Definition: DtGenericTerrainRecord.h:119
#define DT_DECLARE_ALL_serialize_FUNCTIONS
Definition: DtSerialize.h:134
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
#define DT_SERIALIZE_MEMBER(NAME)
Serialize a Member whose name starts with 'my' If your member does not have that name, use Dt_SERIALIZE.
Definition: DtSerialize.h:158
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31