8 #include <boost/archive/text_iarchive.hpp>
9 #include <boost/archive/text_oarchive.hpp>
10 #include <boost/serialization/access.hpp>
19 SegmentSnapshotTableKey::SegmentSnapshotTableKey()
25 SegmentSnapshotTableKey::
27 : _tableID (iTableID) {
32 : _tableID (iKey._tableID) {
41 ioOut <<
"SegmentSnapshotTableKey: " <<
toString();
50 std::ostringstream oStr;
56 void SegmentSnapshotTableKey::serialisationImplementationExport()
const {
57 std::ostringstream oStr;
58 boost::archive::text_oarchive oa (oStr);
63 void SegmentSnapshotTableKey::serialisationImplementationImport() {
64 std::istringstream iStr;
65 boost::archive::text_iarchive ia (iStr);
70 template<
class Archive>
72 const unsigned int iFileVersion) {
82 namespace ba = boost::archive;
83 template void SegmentSnapshotTableKey::
84 serialize<ba::text_oarchive> (ba::text_oarchive&,
unsigned int);
85 template void SegmentSnapshotTableKey::
86 serialize<ba::text_iarchive> (ba::text_iarchive&,
unsigned int);
Key of a given guillotine block, made of a guillotine number.
Handle on the StdAir library context.
~SegmentSnapshotTableKey()
void fromStream(std::istream &ioIn)
void serialize(Archive &ar, const unsigned int iFileVersion)
const TableID_T DEFAULT_TABLE_ID
void toStream(std::ostream &ioOut) const
const std::string toString() const