XML output archive decoupling the data to put in the archive and data to possibly put in a secondary file.
More...
|
| template<class T> |
| void | save_override (const T &t, const unsigned BOOST_PFTO int flags) |
| | Saves any kind of data in the xml archive.
|
| template<class T> |
| void | save_override (const T &t) |
| | Saves any kind of data in the xml archive.
|
| void | save_override (boost::serialization::nvp< DataType > t, const unsigned BOOST_PFTO int flags) |
| | Saves the input data in the archive by printing its index saved in the map.
|
| void | save_override (boost::serialization::nvp< DataType > t) |
| | Saves the input data in the archive by printing its index saved in the map.
|
| void | save_override (boost::serialization::nvp< DataType * > t, const unsigned BOOST_PFTO int flags) |
| | Saves the input data in the archive by printing its index saved in the map.
|
| void | save_override (boost::serialization::nvp< DataType * > t) |
| | Saves the input data in the archive by printing its index saved in the map.
|
| template<class T, class Allocator> |
| void | save_override (boost::serialization::nvp< std::list< T, Allocator > > t, const unsigned BOOST_PFTO int flags) |
| | Override list serialization.
|
| template<class T, class Allocator> |
| void | save_override (boost::serialization::nvp< std::list< T, Allocator > > t) |
| | Override list serialization.
|
| template<class T, class Allocator> |
| void | save_override (boost::serialization::nvp< std::vector< T, Allocator > > t, const unsigned BOOST_PFTO int flags) |
| | Override vector serialization.
|
| template<class T, class Allocator> |
| void | save_override (boost::serialization::nvp< std::vector< T, Allocator > > t) |
| | Override vector serialization.
|
| template<class T, class Compare, class Allocator> |
| void | save_override (boost::serialization::nvp< std::set< T, Compare, Allocator > > t, const unsigned BOOST_PFTO int flags) |
| | Override set serialization.
|
| template<class T, class Compare, class Allocator> |
| void | save_override (boost::serialization::nvp< std::set< T, Compare, Allocator > > t) |
| | Override set serialization.
|
| template<class T, class Compare, class Allocator> |
| void | save_override (boost::serialization::nvp< std::multiset< T, Compare, Allocator > > t, const unsigned BOOST_PFTO int flags) |
| | Override multiset serialization.
|
| template<class T, class Compare, class Allocator> |
| void | save_override (boost::serialization::nvp< std::multiset< T, Compare, Allocator > > t) |
| | Override multiset serialization.
|
| template<class Key, class T, class Compare, class Allocator> |
| void | save_override (boost::serialization::nvp< std::map< Key, T, Compare, Allocator > > t, const unsigned BOOST_PFTO int flags) |
| | Override map serialization.
|
| template<class Key, class T, class Compare, class Allocator> |
| void | save_override (boost::serialization::nvp< std::map< Key, T, Compare, Allocator > > t) |
| | Override map serialization.
|
| template<class Key, class T, class Compare, class Allocator> |
| void | save_override (boost::serialization::nvp< std::multimap< Key, T, Compare, Allocator > > t, const unsigned BOOST_PFTO int flags) |
| | Override multimap serialization.
|
| template<class Key, class T, class Compare, class Allocator> |
| void | save_override (boost::serialization::nvp< std::multimap< Key, T, Compare, Allocator > > t) |
| | Override multimap serialization.
|
template<
class DataType,
class OutputArchive = boost::archive::text_oarchive,
class IsLessData = std::less<DataType>>
class SBL::IO::T_Multiple_archives_serialization_xml_oarchive< DataType, OutputArchive, IsLessData >
XML output archive decoupling the data to put in the archive and data to possibly put in a secondary file.
It attributes to each data an index that will be used for referencing in the xml archive the data possibly serialized in a secondary archive. The method store_data allows to store in a unique cpy of the data in the secondary archive. Then, the XML archive can be used as usual for serializing other data structures containing the partially serialized data structure.
- Template Parameters
-
| DataType | Data to partially serialize (it has to be comparable). |
| OutputArchive | Secondary archive type (default is text). |
| IsLessData | Less comparator for DataType used for storing the data in the map (default is natural less operator). |