![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Loader for one or more txt files listing weights. More...
#include <Graph_loader.hpp>
Static Public Member Functions | |
| static boost::program_options::options_description *& | get_options (void) |
| Access to the options' description of the module. | |
Constructors | |
| T_Graph_loader (void) | |
| Default constructor. | |
Options Descriptions | |
| bool | check_options (std::string &message) const override |
| Check that the parsed options are valid for this loader. | |
Output Prefix | |
| std::string | get_name (void) const |
| Access to the output prefix of this loader. | |
| std::string | get_output_prefix (void) const override |
| Access to the output prefix of this loader. | |
Data Management | |
| boost::program_options::options_description | add_options (void) override |
| Virtual method for adding options to the module. | |
| const GraphType & | get_graph (void) const |
| Container of weights (use only if one input file was provided) (const). | |
| GraphType & | get_graph (void) |
| Container of weights (use only if one input file was provided). | |
| bool | load (unsigned verbose=false, std::ostream &out=std::cout) |
| Once the command line options were parsed, build the containers of weights from the input files. | |
| void | statistics (std::ostream &out) const |
| Print high level statistics on the loaded weights. | |
Mandatory Requirements | |
| boost::program_options::options_description | add_options (void) override |
| Virtual method for adding options to the module. | |
| bool | load (unsigned verbose, std::ostream &out) |
| Load function. | |
| bool | check_options (std::string &message) const override |
| Checks that the input options' values are coherent. | |
| std::string | get_output_prefix (void) const override |
| Returns a prefix that concatains the input line options used when running the module. | |
| std::string | get_name (void) const override |
| Return the name of the class itself. | |
| void | statistics (std::ostream &out) override |
| Print high level statistics on the loaded files. | |
Loader for one or more txt files listing weights.
| FT | Representation of a weight. |
|
inline |
Default constructor.
|
inlineoverridevirtual |
Virtual method for adding options to the module.
Reimplemented from T_Module_option_description< Dummy >.
|
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 >.
|
inlineoverridevirtual |
Check that the parsed options are valid for this loader.
Reimplemented from T_Module_option_description< Dummy >.
Container of weights (use only if one input file was provided).
Container of weights (use only if one input file was provided) (const).
|
inlinevirtual |
Access to the output prefix of this loader.
Reimplemented from Loader_base.
|
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 >.
|
inlineoverridevirtual |
Access to the output prefix of this loader.
Reimplemented from T_Module_option_description< Dummy >.
|
inlinevirtual |
Load function.
| verbose | Verbosity level. | |
| [out] | out | Output stream. |
Reimplemented from Loader_base.
|
inlinevirtual |
Once the command line options were parsed, build the containers of weights from the input files.
Reimplemented from Loader_base.
Print high level statistics on the loaded weights.
|
inlineoverride |
Print high level statistics on the loaded files.