8 #include <boost/archive/text_iarchive.hpp>
9 #include <boost/archive/text_oarchive.hpp>
10 #include <boost/serialization/access.hpp>
12 #include <stdair/basic/BasConst_Inventory.hpp>
19 ReachableUniverseKey::ReachableUniverseKey()
20 : _origin (stdair::DEFAULT_ORIGIN) {
25 ReachableUniverseKey::
27 : _origin (iKey._origin) {
31 ReachableUniverseKey::
32 ReachableUniverseKey (
const stdair::AirportCode_T& iAirportCode)
33 : _origin (iAirportCode) {
42 ioOut <<
"ReachableUniverseKey: " <<
toString() << std::endl;
51 std::ostringstream oStr;
57 void ReachableUniverseKey::serialisationImplementationExport()
const {
58 std::ostringstream oStr;
59 boost::archive::text_oarchive oa (oStr);
64 void ReachableUniverseKey::serialisationImplementationImport() {
65 std::istringstream iStr;
66 boost::archive::text_iarchive ia (iStr);
71 template<
class Archive>
73 const unsigned int iFileVersion) {
83 namespace ba = boost::archive;
85 void ReachableUniverseKey::serialize<ba::text_oarchive> (ba::text_oarchive&,
88 void ReachableUniverseKey::serialize<ba::text_iarchive> (ba::text_iarchive&,