Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Model of ParticleAnnotator for attributing a name to a pseudo-atom. More...
#include <Name_annotator_for_pseudo_atoms.hpp>
Public Member Functions | |
boost::program_options::options_description | add_options (void) |
Virtual method for adding options to the module. More... | |
bool | check_options (std::string &message) const |
Checks that the input options' values are coherent. More... | |
std::string | get_output_prefix (void) const |
Returns a prefix that concatains the input line options used when running the module. More... | |
bool | load (unsigned verbose, std::ostream &out) |
Load function. More... | |
std::string | get_name (void) const |
Return the name of the class itself. More... | |
Static Public Member Functions | |
static boost::program_options::options_description *& | get_options (void) |
Access to the options' description of the module. More... | |
Management | |
void | set_loader_instance_name (const std::string &loader_instance_name) |
const std::string & | get_loader_instance_name (void) const |
Model of ParticleAnnotator for attributing a name to a pseudo-atom.
It loads the annotations from a file without header information. In this annotator, pseudo-atoms are supposed to represent residues, so that the key of a pseudo-atom is the 3 letters code of the residue it presents. By default, the associated name is the name os the residue.
SetAnnotatedName | Functor taking a particle and a name and setting the name to the particle. |
|
inlinevirtual |
Virtual method for adding options to the module.
Reimplemented from T_Module_option_description< Dummy >.
|
inlinevirtual |
Checks that the input options' values are coherent.
Reimplemented from T_Module_option_description< Dummy >.
|
inlinevirtual |
Return the name of the class itself.
Reimplemented from Loader_base.
|
inlinestaticinherited |
Access to the options' description of the module.
|
inlinevirtual |
Returns a prefix that concatains the input line options used when running the module.
Reimplemented from T_Module_option_description< Dummy >.
|
inlinevirtual |
Load function.
verbose | Verbosity level. | |
[out] | out | Output stream. |
Reimplemented from Loader_base.