![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
XML input archive coupling the data from a secondary archive to the main xml archive. More...
#include <Multiple_archives_serialization_xml_iarchive.hpp>
Constructors / Destructors | |
T_Multiple_archives_serialization_xml_iarchive (std::istream &in, std::istream &sec_in, const unsigned BOOST_PFTO int flags=0) | |
Initializes with a file for the xml archive, and a file for the secondary archive. More... | |
T_Multiple_archives_serialization_xml_iarchive (std::istream &in, Self &other, const unsigned BOOST_PFTO int flags=0) | |
Initializes with a file for the xml archive, and fill the data map with an existing one. More... | |
template<class InputIterator > | |
T_Multiple_archives_serialization_xml_iarchive (std::istream &in, InputIterator begin, InputIterator end, const unsigned BOOST_PFTO int flags=0) | |
Initializes with a file for the xml archive, and fill the data map with an existing one. More... | |
Access Data | |
template<class OutputIterator > | |
OutputIterator | get_data (OutputIterator out) |
Gets all the data read from the secondary archive. More... | |
template<class OutputIterator > | |
static OutputIterator | get_data (std::istream &in, OutputIterator out) |
Gets all the data read from the secondary archive without instantiation of any xml archive. More... | |
Overrloaded Methods | |
template<class T > | |
void | load_override (T &t, const unsigned BOOST_PFTO int flags) |
Loads any kind of data from the xml archive. More... | |
template<class T > | |
void | load_override (T &t) |
Loads any kind of data from the xml archive. More... | |
void | load_override (boost::serialization::nvp< DataType > t, const unsigned BOOST_PFTO int flags) |
Loads into the input data from the archive by loading its index and searching in the loaded data. More... | |
void | load_override (boost::serialization::nvp< DataType > t) |
Loads into the input data from the archive by loading its index and searching in the loaded data. More... | |
void | load_override (boost::serialization::nvp< DataType * > t, const unsigned BOOST_PFTO int flags) |
Loads into the input data from the archive by loading its index and searching in the loaded data, avoiding pointer tricks. More... | |
void | load_override (boost::serialization::nvp< DataType * > t) |
Loads into the input data from the archive by loading its index and searching in the loaded data, avoiding pointer tricks. More... | |
template<class T , class Allocator > | |
void | load_override (boost::serialization::nvp< std::list< T, Allocator > > t, const unsigned BOOST_PFTO int flags) |
Override list serialization. More... | |
template<class T , class Allocator > | |
void | load_override (boost::serialization::nvp< std::list< T, Allocator > > t) |
Override list serialization. More... | |
template<class T , class Allocator > | |
void | load_override (boost::serialization::nvp< std::vector< T, Allocator > > t, const unsigned BOOST_PFTO int flags) |
Override vector serialization. More... | |
template<class T , class Allocator > | |
void | load_override (boost::serialization::nvp< std::vector< T, Allocator > > t) |
Override vector serialization. More... | |
template<class T , class Compare , class Allocator > | |
void | load_override (boost::serialization::nvp< std::set< T, Compare, Allocator > > t, const unsigned BOOST_PFTO int flags) |
Override set serialization. More... | |
template<class T , class Compare , class Allocator > | |
void | load_override (boost::serialization::nvp< std::set< T, Compare, Allocator > > t) |
Override set serialization. More... | |
template<class T , class Compare , class Allocator > | |
void | load_override (boost::serialization::nvp< std::multiset< T, Compare, Allocator > > t, const unsigned BOOST_PFTO int flags) |
Override multiset serialization. More... | |
template<class T , class Compare , class Allocator > | |
void | load_override (boost::serialization::nvp< std::multiset< T, Compare, Allocator > > t) |
Override multiset serialization. More... | |
template<class Key , class T , class Compare , class Allocator > | |
void | load_override (boost::serialization::nvp< std::map< Key, T, Compare, Allocator > > t, const unsigned BOOST_PFTO int flags) |
Override map serialization. More... | |
template<class Key , class T , class Compare , class Allocator > | |
void | load_override (boost::serialization::nvp< std::map< Key, T, Compare, Allocator > > t) |
Override map serialization. More... | |
template<class Key , class T , class Compare , class Allocator > | |
void | load_override (boost::serialization::nvp< std::multimap< Key, T, Compare, Allocator > > t, const unsigned BOOST_PFTO int flags) |
Override multimap serialization. More... | |
template<class Key , class T , class Compare , class Allocator > | |
void | load_override (boost::serialization::nvp< std::multimap< Key, T, Compare, Allocator > > t) |
Override multimap serialization. More... | |
XML input archive coupling the data from a secondary archive to the main xml archive.
It reads from an archive all the data of type DataType and store them in a vector, their position corresopnding to their index. Then, when deserializing the main xml input archive, each time that the data is encountered and represetned by its index, it is taken from the data stored in the vector, avoiding duplication.
DataType | Data to partially serialize. |
InputArchive | Secondary archive type (default is text). |
|
inline |
Initializes with a file for the xml archive, and a file for the secondary archive.
|
inline |
Initializes with a file for the xml archive, and fill the data map with an existing one.
|
inline |
Initializes with a file for the xml archive, and fill the data map with an existing one.
|
inline |
Gets all the data read from the secondary archive.
|
inlinestatic |
Gets all the data read from the secondary archive without instantiation of any xml archive.
|
inline |
Loads into the input data from the archive by loading its index and searching in the loaded data, avoiding pointer tricks.
|
inline |
Loads into the input data from the archive by loading its index and searching in the loaded data, avoiding pointer tricks.
|
inline |
Loads into the input data from the archive by loading its index and searching in the loaded data.
|
inline |
Loads into the input data from the archive by loading its index and searching in the loaded data.
|
inline |
Override list serialization.
|
inline |
Override list serialization.
|
inline |
Override map serialization.
|
inline |
Override map serialization.
|
inline |
Override multimap serialization.
|
inline |
Override multimap serialization.
|
inline |
Override multiset serialization.
|
inline |
Override multiset serialization.
|
inline |
Override set serialization.
|
inline |
Override set serialization.
|
inline |
Override vector serialization.
|
inline |
Override vector serialization.
|
inline |
Loads any kind of data from the xml archive.
|
inline |
Loads any kind of data from the xml archive.