8 #include <boost/archive/text_iarchive.hpp>
9 #include <boost/archive/text_oarchive.hpp>
10 #include <boost/serialization/access.hpp>
24 : _cabinCode (iCabinCode) {
29 : _cabinCode (iKey._cabinCode) {
38 ioOut <<
"LegCabinKey: " <<
toString() << std::endl;
47 std::ostringstream oStr;
53 void LegCabinKey::serialisationImplementationExport()
const {
54 std::ostringstream oStr;
55 boost::archive::text_oarchive oa (oStr);
60 void LegCabinKey::serialisationImplementationImport() {
61 std::istringstream iStr;
62 boost::archive::text_iarchive ia (iStr);
67 template<
class Archive>
69 const unsigned int iFileVersion) {
74 ioArchive & _cabinCode;
const std::string toString() const
Handle on the StdAir library context.
const CabinCode_T DEFAULT_CABIN_CODE
void serialize(Archive &ar, const unsigned int iFileVersion)
void fromStream(std::istream &ioIn)
void toStream(std::ostream &ioOut) const
Key of a given leg-cabin, made of a cabin code (only).