Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
SBL::IO Namespace Reference

Functions

template<class Archive >
static bool is_main_archive (Archive &ar)
 Check that the input archive is a main archive. More...
 
template<class T , class InputArchive >
static bool is_main_archive (T_Multiple_archives_serialization_xml_iarchive< T, InputArchive > &ar)
 Check that T_Multiple_archives_serialization_xml_iarchive is a main archive. More...
 
template<class T , class OutputArchive , class IsLessData >
static bool is_main_archive (T_Multiple_archives_serialization_xml_oarchive< T, OutputArchive, IsLessData > &ar)
 Check that T_Multiple_archives_serialization_xml_oarchive is a main archive. More...
 
template<class SampleRep , class SampleWeight , class VertexContainer , class EdgeContainer , class Archive >
void save (Archive &ar, typename SBL::CSB::T_Transition_graph_traits_compressed< SampleRep, SampleWeight, VertexContainer, EdgeContainer >::Graph &G)
 
template<class SampleRep , class SampleWeight , class VertexContainer , class EdgeContainer , class Archive >
void load (Archive &ar, typename SBL::CSB::T_Transition_graph_traits_compressed< SampleRep, SampleWeight, VertexContainer, EdgeContainer >::Graph &G)
 
template<class SampleRep , class SampleWeight , class VertexContainer , class EdgeContainer , class Archive >
void save (Archive &ar, typename SBL::CSB::T_Transition_graph_traits_standard< SampleRep, SampleWeight, VertexContainer, EdgeContainer >::Graph &G)
 
template<class SampleRep , class SampleWeight , class VertexContainer , class EdgeContainer , class Archive >
void load (Archive &ar, typename SBL::CSB::T_Transition_graph_traits_standard< SampleRep, SampleWeight, VertexContainer, EdgeContainer >::Graph &G)
 

Function Documentation

◆ is_main_archive() [1/3]

static bool SBL::IO::is_main_archive ( Archive &  ar)
inlinestatic

Check that the input archive is a main archive.

By default, any archive is not a main archive. Use partial template specialization for overriding this method for a particular archive type that you want to be a main one.

◆ is_main_archive() [2/3]

static bool is_main_archive ( T_Multiple_archives_serialization_xml_iarchive< T, InputArchive > &  ar)
inlinestatic

Check that T_Multiple_archives_serialization_xml_iarchive is a main archive.

◆ is_main_archive() [3/3]

static bool is_main_archive ( T_Multiple_archives_serialization_xml_oarchive< T, OutputArchive, IsLessData > &  ar)
inlinestatic

Check that T_Multiple_archives_serialization_xml_oarchive is a main archive.

◆ load() [1/2]

void SBL::IO::load ( Archive &  ar,
typename SBL::CSB::T_Transition_graph_traits_compressed< SampleRep, SampleWeight, VertexContainer, EdgeContainer >::Graph &  G 
)
inline

◆ load() [2/2]

void SBL::IO::load ( Archive &  ar,
typename SBL::CSB::T_Transition_graph_traits_standard< SampleRep, SampleWeight, VertexContainer, EdgeContainer >::Graph &  G 
)
inline

◆ save() [1/2]

void SBL::IO::save ( Archive &  ar,
typename SBL::CSB::T_Transition_graph_traits_compressed< SampleRep, SampleWeight, VertexContainer, EdgeContainer >::Graph &  G 
)
inline

◆ save() [2/2]

void SBL::IO::save ( Archive &  ar,
typename SBL::CSB::T_Transition_graph_traits_standard< SampleRep, SampleWeight, VertexContainer, EdgeContainer >::Graph &  G 
)
inline