Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Loader for systems' labels specification. Loader for systems' labels specification. More...
#include "Primitive_labels_loader.hpp"
Static Public Member Functions | |
static boost::program_options::options_description *& | get_options (void) |
Access to the options' description of the module. More... | |
Other Types | |
typedef PartnerLabelsTraits::Primitive_label_classifier | Primitive_partner_classifier |
Functor checking that a particle is in a partner, and returns the corresponding label if it is. More... | |
typedef MediatorLabelsTraits::Primitive_label_classifier | Primitive_mediator_classifier |
Functor checking that a particle is in a mediator, and returns the corresponding label if it is. More... | |
typedef ExtraLabelsTraits::Primitive_label_classifier | Primitive_extra_classifier |
Functor checking that a particle is in an extra, and returns the corresponding label if it is. More... | |
Accessors | |
const Primitive_partner_classifier & | get_partner_classifier (void) const |
Classifier for the partners (const). More... | |
Primitive_partner_classifier & | get_partner_classifier (void) |
Classifier for the partners. More... | |
const Primitive_mediator_classifier & | get_mediator_classifier (void) const |
Classifier for the mediators (const). More... | |
Primitive_mediator_classifier & | get_mediator_classifier (void) |
Classifier for the mediators. More... | |
const Primitive_extra_classifier & | get_extra_classifier (void) const |
Classifier for the extra (const). More... | |
Primitive_extra_classifier & | get_extra_classifier (void) |
Classifier for the extra. More... | |
Mandatory Requirements | |
bool | load (unsigned verbose, std::ostream &out) override |
Load function. More... | |
bool | check_options (std::string &message) const override |
Checks that the input options' values are coherent. More... | |
std::string | get_output_prefix (void) const override |
Returns a prefix that concatains the input line options used when running the module. More... | |
std::string | get_name (void) const override |
Return the name of the class itself. More... | |
Optional Requirements | |
boost::program_options::options_description | add_options (void) override |
Virtual method for adding options to the module. More... | |
Management | |
void | set_loader_instance_name (const std::string &loader_instance_name) |
const std::string & | get_loader_instance_name (void) const |
Loader for systems' labels specification. Loader for systems' labels specification.
The molecular systems's labels are defined by the concept MolecularSystemLabelsTraits. That is, a model of MolecularSystemLabelsTraits defines the type System_label which enumerates all the different labels of one category (partners or mediators or extras). A model of MolecularSystemLabelsTraits describing the partners (resp. mediators or extras) is said to follows the PartnerLabelsTraits concept (resp. MediatorLabelsTraits or ExtraLabelsTraits concept).
This loader allows to load the specifications for each label's category.
PartnerLabelsTraits | Traits class defining the partners' labels hierarchy. |
MediatorLabelsTraits | Traits class defining the mediators' labels hierarchy (by default, it is SBL::Models::No_label_traits). |
ExtraLabelsTraits | Traits class defining the extras' labels hierarchy (by default, it is SBL::Models::No_label_traits). |
typedef ExtraLabelsTraits::Primitive_label_classifier Primitive_extra_classifier |
Functor checking that a particle is in an extra, and returns the corresponding label if it is.
typedef MediatorLabelsTraits::Primitive_label_classifier Primitive_mediator_classifier |
Functor checking that a particle is in a mediator, and returns the corresponding label if it is.
typedef PartnerLabelsTraits::Primitive_label_classifier Primitive_partner_classifier |
Functor checking that a particle is in a partner, and returns the corresponding label if it is.
|
inlineoverridevirtual |
Virtual method for adding options to the module.
Reimplemented from T_Module_option_description< Dummy >.
|
inlineoverridevirtual |
Checks that the input options' values are coherent.
Reimplemented from T_Module_option_description< Dummy >.
|
inline |
Classifier for the extra.
|
inline |
Classifier for the extra (const).
|
inline |
Classifier for the mediators.
|
inline |
Classifier for the mediators (const).
|
inlineoverridevirtual |
Return the name of the class itself.
Reimplemented from Loader_base.
|
inlinestaticinherited |
Access to the options' description of the module.
|
inlineoverridevirtual |
Returns a prefix that concatains the input line options used when running the module.
Reimplemented from T_Module_option_description< Dummy >.
|
inline |
Classifier for the partners.
|
inline |
Classifier for the partners (const).
|
inlineoverridevirtual |
Load function.
verbose | Verbosity level. | |
[out] | out | Output stream. |
Reimplemented from Loader_base.