8 #include <boost/archive/text_iarchive.hpp>
9 #include <boost/archive/text_oarchive.hpp>
10 #include <boost/serialization/access.hpp>
19 SegmentDateKey::SegmentDateKey()
27 : _boardingPoint (iBoardingPoint), _offPoint (iOffPoint) {
32 : _boardingPoint (iKey._boardingPoint), _offPoint (iKey._offPoint) {
41 ioOut <<
"SegmentDateKey: " <<
toString() << std::endl;
50 std::ostringstream oStr;
51 oStr << _boardingPoint
57 void SegmentDateKey::serialisationImplementationExport()
const {
58 std::ostringstream oStr;
59 boost::archive::text_oarchive oa (oStr);
64 void SegmentDateKey::serialisationImplementationImport() {
65 std::istringstream iStr;
66 boost::archive::text_iarchive ia (iStr);
71 template<
class Archive>
73 const unsigned int iFileVersion) {
74 ioArchive & _boardingPoint & _offPoint;
79 namespace ba = boost::archive;
80 template void SegmentDateKey::serialize<ba::text_oarchive>(ba::text_oarchive&,
82 template void SegmentDateKey::serialize<ba::text_iarchive>(ba::text_iarchive&,