Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Tricolor_interface_oserialization< MolecularInterfaceBuilder > Class Template Reference

Serialization of a tricolor interface. More...

#include <Molecular_interfaces_module_oserialization.hpp>

Public Types

typedef SBL::CSB::T_Tricolor_interface_oserialization< Tricolor_interface > Tricolor_interface_statistics_serialization
 Serialize in a file high level information on a tricolor interface. More...
 
typedef SBL::CSB::T_Molecular_interface_oserialization< Tricolor_interface > Tricolor_interface_details_serialization
 Serialize in a file the particles and contacts involved in a tricolor interface. More...
 

Attributes

Tricolor_interface & interface
 Tricolor interface to be serialized. More...
 

Serialization

template<class Archive >
void save (Archive &ar, const unsigned version) const
 Use the base serialization of the mediated interface in an archive and add some statistics. More...
 
template<class Archive >
void load (Archive &ar, const unsigned version)
 Load the interface from an archive (not implemented). More...
 
 BOOST_SERIALIZATION_SPLIT_MEMBER ()
 

Constructors / Destructors

 T_Tricolor_interface_oserialization (Tricolor_interface &ti, const Alpha_complex &A)
 Initialize the mediated interface and the alpha-complex where it is embedded. More...
 

Detailed Description

template<class MolecularInterfaceBuilder>
class SBL::Modules::T_Tricolor_interface_oserialization< MolecularInterfaceBuilder >

Serialization of a tricolor interface.

Template Parameters
MolecularInterfaceBuilderTraits class defining the types used in the package.

Member Typedef Documentation

◆ Tricolor_interface_details_serialization

Serialize in a file the particles and contacts involved in a tricolor interface.

◆ Tricolor_interface_statistics_serialization

Serialize in a file high level information on a tricolor interface.

Constructor & Destructor Documentation

◆ T_Tricolor_interface_oserialization()

T_Tricolor_interface_oserialization ( Tricolor_interface &  ti,
const Alpha_complex &  A 
)
inline

Initialize the mediated interface and the alpha-complex where it is embedded.

Member Function Documentation

◆ load()

void load ( Archive &  ar,
const unsigned  version 
)
inline

Load the interface from an archive (not implemented).

◆ save()

void save ( Archive &  ar,
const unsigned  version 
) const
inline

Use the base serialization of the mediated interface in an archive and add some statistics.

Member Data Documentation

◆ interface

Tricolor_interface& interface

Tricolor interface to be serialized.