Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Particle_with_annotations< ParticleBase, AnnotationsType > Class Template Reference

Traits class defining particles traits with annotations. More...

#include <Particle_with_annotations_traits.hpp>

Public Types

typedef T_Particle_with_annotations< ParticleBase, AnnotationsType > Self
 
typedef ParticleBase Base
 

Public Member Functions

 T_Particle_with_annotations (void)
 
 T_Particle_with_annotations (const Self &p)
 
 T_Particle_with_annotations (const Base &p)
 
template<class Particle >
 T_Particle_with_annotations (const Particle &p)
 
const AnnotationsType & get_annotations () const
 Returns the annotations of the atom. More...
 
AnnotationsType & get_annotations ()
 Returns the annotations of the atom. More...
 
template<class Archive >
void serialize (Archive &ar, const unsigned BOOST_PFTO int file_version)
 

Detailed Description

template<class ParticleBase, class AnnotationsType>
class SBL::Models::T_Particle_with_annotations< ParticleBase, AnnotationsType >

Traits class defining particles traits with annotations.

Member Typedef Documentation

◆ Base

typedef ParticleBase Base

◆ Self

typedef T_Particle_with_annotations<ParticleBase, AnnotationsType> Self

Constructor & Destructor Documentation

◆ T_Particle_with_annotations() [1/4]

T_Particle_with_annotations ( void  )
inline

◆ T_Particle_with_annotations() [2/4]

T_Particle_with_annotations ( const Self p)
inline

◆ T_Particle_with_annotations() [3/4]

T_Particle_with_annotations ( const Base p)
inline

◆ T_Particle_with_annotations() [4/4]

T_Particle_with_annotations ( const Particle &  p)
inline

Member Function Documentation

◆ get_annotations() [1/2]

AnnotationsType& get_annotations ( )
inline

Returns the annotations of the atom.

◆ get_annotations() [2/2]

const AnnotationsType& get_annotations ( ) const
inline

Returns the annotations of the atom.

◆ serialize()

void serialize ( Archive &  ar,
const unsigned BOOST_PFTO int  file_version 
)
inline