8 #include <boost/archive/text_iarchive.hpp>
9 #include <boost/archive/text_oarchive.hpp>
10 #include <boost/serialization/access.hpp>
17 BucketKey::BucketKey() {
23 : _seatIndex (iSeatIndex) {
28 : _seatIndex (iBucketKey._seatIndex) {
37 ioOut <<
"BucketKey: " <<
toString() << std::endl;
46 std::ostringstream oStr;
52 void BucketKey::serialisationImplementationExport()
const {
53 std::ostringstream oStr;
54 boost::archive::text_oarchive oa (oStr);
59 void BucketKey::serialisationImplementationImport() {
60 std::istringstream iStr;
61 boost::archive::text_iarchive ia (iStr);
66 template<
class Archive>
68 const unsigned int iFileVersion) {
69 ioArchive & _seatIndex;
74 namespace ba = boost::archive;
75 template void BucketKey::serialize<ba::text_oarchive> (ba::text_oarchive&,
77 template void BucketKey::serialize<ba::text_iarchive> (ba::text_iarchive&,