8 #include <boost/archive/text_iarchive.hpp>
9 #include <boost/archive/text_oarchive.hpp>
10 #include <boost/serialization/access.hpp>
24 Bucket::Bucket (
const Bucket& iBucket) :
27 _yieldRangeUpperValue (iBucket._yieldRangeUpperValue),
28 _availability (iBucket._availability),
29 _soldSeats (iBucket._soldSeats) {
34 Bucket::Bucket (
const Key_T& iKey) : _key (iKey), _parent (NULL) {
43 std::ostringstream oStr;
49 void Bucket::serialisationImplementationExport()
const {
50 std::ostringstream oStr;
51 boost::archive::text_oarchive oa (oStr);
56 void Bucket::serialisationImplementationImport() {
57 std::istringstream iStr;
58 boost::archive::text_iarchive ia (iStr);
63 template<
class Archive>