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

Serialization of a molecular interface. More...

#include <Molecular_interfaces_oserialization.hpp>

Public Types

typedef T_Molecular_interface_oserialization< MolecularInterface > Self
 

Serialization

template<class Archive >
void save (Archive &ar, const unsigned version) const
 Serialize in an archive this data structure. More...
 
template<class Archive >
void load (Archive &ar, const unsigned version)
 Load a serialized data structure. More...
 
 BOOST_SERIALIZATION_SPLIT_MEMBER ()
 Allow to save a data structure without requirement for loading it. More...
 

Constructors

 T_Molecular_interface_oserialization (const MolecularInterface &interface)
 Constructor initializing the interface to be serialized. More...
 

Detailed Description

template<class MolecularInterface>
class SBL::CSB::T_Molecular_interface_oserialization< MolecularInterface >

Serialization of a molecular interface.

Template Parameters
MolecularInterfaceModel of a molecular interface.

Member Typedef Documentation

◆ Self

typedef T_Molecular_interface_oserialization<MolecularInterface> Self

Constructor & Destructor Documentation

◆ T_Molecular_interface_oserialization()

T_Molecular_interface_oserialization ( const MolecularInterface &  interface)
inline

Constructor initializing the interface to be serialized.

Member Function Documentation

◆ BOOST_SERIALIZATION_SPLIT_MEMBER()

BOOST_SERIALIZATION_SPLIT_MEMBER ( )

Allow to save a data structure without requirement for loading it.

◆ load()

void load ( Archive &  ar,
const unsigned  version 
)

Load a serialized data structure.

Cannot be used !

◆ save()

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

Serialize in an archive this data structure.