8 #include <boost/archive/text_iarchive.hpp>
9 #include <boost/archive/text_oarchive.hpp>
10 #include <boost/serialization/access.hpp>
24 : _nestingStructureCode (iNestingStructureKey._nestingStructureCode) {
29 : _nestingStructureCode (iNestingStructureCode) {
38 ioOut <<
"NestingStructureKey: " <<
toString();
47 std::ostringstream oStr;
48 oStr << _nestingStructureCode;
53 void NestingStructureKey::serialisationImplementationExport()
const {
54 std::ostringstream oStr;
55 boost::archive::text_oarchive oa (oStr);
60 void NestingStructureKey::serialisationImplementationImport() {
61 std::istringstream iStr;
62 boost::archive::text_iarchive ia (iStr);
67 template<
class Archive>
69 const unsigned int iFileVersion) {
74 ioArchive & _nestingStructureCode;
79 namespace ba = boost::archive;
80 template void NestingStructureKey::serialize<ba::text_oarchive> (ba::text_oarchive&,
82 template void NestingStructureKey::serialize<ba::text_iarchive> (ba::text_iarchive&,
void toStream(std::ostream &ioOut) const
void fromStream(std::istream &ioIn)
Handle on the StdAir library context.
Key of a given policy, made of a policy code.
std::string NestingStructureCode_T
const NestingStructureCode_T DEFAULT_NESTING_STRUCTURE_CODE
const std::string toString() const
void serialize(Archive &ar, const unsigned int iFileVersion)