Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Chain_label_traits< Dummy >::Primitive_label_classifier Struct Reference

Functor returning a pair classifying a particle. More...

#include <Chain_label_traits.hpp>

Public Member Functions

bool set_options (boost::program_options::options_description &options) const
 
bool check_options (std::string &message) const
 
std::string get_output_prefix (void) const
 
bool load (unsigned verbose, std::ostream &out)
 
template<class Particle >
std::pair< bool, Labeloperator() (const Particle &p) const
 

Detailed Description

template<class Dummy = void>
struct SBL::Models::T_Chain_label_traits< Dummy >::Primitive_label_classifier

Functor returning a pair classifying a particle.

The first member is a boolean checking that the input particle is a partner. The second member is the corresponding primitive label.

Member Function Documentation

◆ check_options()

bool check_options ( std::string &  message) const
inline

◆ get_output_prefix()

std::string get_output_prefix ( void  ) const
inline

◆ load()

bool load ( unsigned  verbose,
std::ostream &  out 
)
inline

◆ operator()()

std::pair<bool, Label> operator() ( const Particle &  p) const
inline

◆ set_options()

bool set_options ( boost::program_options::options_description &  options) const
inline