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>
const std::string describeKey() const
const SeatIndex_T DEFAULT_SEAT_INDEX
Handle on the StdAir library context.
void serialize(Archive &ar, const unsigned int iFileVersion)
std::string toString() const