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

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

#include <Domain_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

Static Public Member Functions

static void set_specification_file (const std::string &filename)

Detailed Description

template<class Dummy = void>
struct SBL::Models::T_Domain_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

◆ 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

◆ set_specification_file()

static void set_specification_file ( const std::string &  filename)