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

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

#include <AB_label_traits.hpp>

Public Member Functions

void add_partner (const std::string &partner)
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_AB_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

◆ add_partner()

void add_partner ( const std::string &  partner)

◆ check_options()

bool check_options ( std::string &  message) const

◆ get_output_prefix()

std::string get_output_prefix ( void  ) const

◆ load()

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

◆ operator()()

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

◆ set_options()

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