![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Loader for files listing numbers
More...
#include <Numbers_file_loader.hpp>
Public Types | |
| typedef std::vector< std::vector< FT > > | Data_vector |
| List of serialized data. | |
Static Public Member Functions | |
| static boost::program_options::options_description *& | get_options (void) |
| Access to the options' description of the module. | |
Constructors | |
| T_Numbers_file_loader (const std::string &tag, const std::string &helper="Numbers file name", const std::string &option_name="numbers-file") | |
| 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_output_prefix (void) const override |
| Access to the output prefix of this loader. | |
| std::string | get_name (void) const override |
| Return the name of the class itself. | |
Data Management | |
| const Data_vector & | get_all_data (void) const |
| Access to all the containers of spheres (const). | |
| Data_vector & | get_all_data (void) |
| Access to all the containers of spheres. | |
| unsigned | get_number_of_data (void) const |
| Number of containers of spheres. | |
| const std::vector< FT > & | get_data (unsigned i) const |
| ith container of spheres corresponding to the ith input file (const). | |
| std::vector< FT > & | get_data (unsigned i) |
| ith container of spheres corresponding to the ith input file. | |
| const std::vector< FT > & | get_data (void) const |
| Container of spheres (use only if one input file was provided) (const). | |
| std::vector< FT > & | get_data (void) |
| Container of spheres (use only if one input file was provided). | |
| bool | load (unsigned verbose=false, std::ostream &out=std::cout) override |
| Once the command line options were parsed, build the containers of spheres from the input files. | |
| boost::program_options::options_description | add_options (void) override |
| Virtual method for adding options to the module. | |
| void | statistics (std::ostream &out) const |
| Print high level statistics on the loaded spheres. | |
| static std::vector< std::string > & | get_file_names (void) |
| Access to the input filenames. | |
Loader for files listing numbers
| FT | Type of the numbers to load. |
| typedef std::vector<std::vector<FT> > Data_vector |
List of serialized data.
|
inline |
Default constructor.
|
inlineoverridevirtual |
Virtual method for adding options to the module.
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 >.
|
inline |
Access to all the containers of spheres.
|
inline |
Access to all the containers of spheres (const).
ith container of spheres corresponding to the ith input file.
ith container of spheres corresponding to the ith input file (const).
Container of spheres (use only if one input file was provided).
Container of spheres (use only if one input file was provided) (const).
Access to the input filenames.
Return the name of the class itself.
Reimplemented from Loader_base.
Number of containers of spheres.
|
inlinestaticinherited |
Access to the options' description of the module.
Access to the output prefix of this loader.
Reimplemented from T_Module_option_description< Dummy >.
|
inlineoverridevirtual |
Once the command line options were parsed, build the containers of spheres from the input files.
Reimplemented from Loader_base.