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>
20 ReachableUniverse::ReachableUniverse()
21 : _key (stdair::DEFAULT_ORIGIN), _parent (NULL) {
26 ReachableUniverse::ReachableUniverse (
const ReachableUniverse&)
27 : _key (stdair::DEFAULT_ORIGIN), _parent (NULL) {
32 ReachableUniverse::ReachableUniverse (
const Key_T& iKey)
33 : _key (iKey), _parent (NULL) {
42 std::ostringstream oStr;
48 void ReachableUniverse::serialisationImplementationExport()
const {
49 std::ostringstream oStr;
50 boost::archive::text_oarchive oa (oStr);
55 void ReachableUniverse::serialisationImplementationImport() {
56 std::istringstream iStr;
57 boost::archive::text_iarchive ia (iStr);
62 template<
class Archive>
64 const unsigned int iFileVersion) {
70 namespace ba = boost::archive;
72 void ReachableUniverse::serialize<ba::text_oarchive> (ba::text_oarchive&,
75 void ReachableUniverse::serialize<ba::text_iarchive> (ba::text_iarchive&,