Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Loader for one or more txt files listing dD points Loader for one or more txt files listing dD points. More...
#include "Points_d_file_loader.hpp"
Public Types | |
typedef PointD | Point |
Representation of a point. More... | |
typedef std::vector< Point > | Points_ensemble |
List of points in a file. More... | |
Static Public Member Functions | |
static boost::program_options::options_description *& | get_options (void) |
Access to the options' description of the module. More... | |
Constructors | |
T_Points_d_file_loader (void) | |
Default constructor. More... | |
Options Descriptions | |
bool | check_options (std::string &message) const override |
Check that the parsed options are valid for this loader. More... | |
Output Prefix | |
boost::program_options::options_description | add_options (void) override |
Virtual method for adding options to the module. More... | |
std::string | get_name (void) const override |
Return the name of the class itself. More... | |
std::string | get_output_prefix (void) const override |
Access to the output prefix of this loader. More... | |
Data Management | |
std::vector< std::string > & | get_file_names (void) |
Access to all the containers of points (const). More... | |
unsigned | get_number_of_loaded_data (void) const |
Number of containers of points. More... | |
const Points_ensemble & | get_data (unsigned i) const |
ith container of points corresponding to the ith input file (const). More... | |
Points_ensemble & | get_data (unsigned i) |
ith container of points corresponding to the ith input file. More... | |
const Points_ensemble & | get_data (void) const |
Container of points (use only if one input file was provided) (const). More... | |
Points_ensemble & | get_data (void) |
Container of points (use only if one input file was provided). More... | |
bool | load (unsigned verbose=false, std::ostream &out=std::cout) override |
Once the command line options were parsed, build the containers of points from the input files. More... | |
void | statistics (std::ostream &out) const |
Print high level statistics on the loaded points. More... | |
static void | add_file_name (const std::string &file_name) |
Management | |
void | set_loader_instance_name (const std::string &loader_instance_name) |
const std::string & | get_loader_instance_name (void) const |
Loader for one or more txt files listing dD points Loader for one or more txt files listing dD points.
PointD | Representation of a points in dimension D. |
typedef PointD Point |
Representation of a point.
typedef std::vector<Point> Points_ensemble |
List of points in a file.
|
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 |
ith container of points corresponding to the ith input file.
|
inline |
ith container of points corresponding to the ith input file (const).
|
inline |
Container of points (use only if one input file was provided).
|
inline |
Container of points (use only if one input file was provided) (const).
|
inline |
Access to all the containers of points (const).
|
inlineoverridevirtual |
Return the name of the class itself.
Reimplemented from Loader_base.
|
inline |
Number of containers of points.
|
inlinestaticinherited |
Access to the options' description of the module.
|
inlineoverridevirtual |
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 points from the input files.
Reimplemented from Loader_base.
|
inline |
Print high level statistics on the loaded points.