Rosetta 3.3
|
initialization subroutines for Benchmark More...
#include <protocols/init.hh>
#include <cstring>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
Functions | |
char ** | create_pseudo_commandline (std::string const &cmdin, int &pseudo_argc) |
void | destroy_pseudo_commandline (int pseudo_argc, char **pseudo_argv) |
void | core_init_from_string (std::string const &commandline) |
For unit tests only. Creates an argc/argv pair, calls init() and deletes argv. can be used to init option system more that once, providing user ability to change options on the fly. | |
void | core_init_with_additional_options (std::string const &commandline_in) |
For unit tests only. Re-init option system. Command line will be = old command line + function argument. |
initialization subroutines for Benchmark
void core_init_from_string | ( | std::string const & | commandline | ) | [inline] |
For unit tests only. Creates an argc/argv pair, calls init() and deletes argv. can be used to init option system more that once, providing user ability to change options on the fly.
References command_line_argv, create_pseudo_commandline(), destroy_pseudo_commandline(), and src::init().
Referenced by core_init_with_additional_options().
void core_init_with_additional_options | ( | std::string const & | commandline_in | ) | [inline] |
For unit tests only. Re-init option system. Command line will be = old command line + function argument.
References command_line_argc, command_line_argv, core_init_from_string(), and color_pdb::i.
Referenced by DockingBenchmark< dock, TScale >::setUp().
char** create_pseudo_commandline | ( | std::string const & | cmdin, |
int & | pseudo_argc | ||
) | [inline] |
References test::T200_Scoring::ii, and amino_acids::size.
Referenced by core_init_from_string().
void destroy_pseudo_commandline | ( | int | pseudo_argc, |
char ** | pseudo_argv | ||
) | [inline] |
References test::T200_Scoring::ii.
Referenced by core_init_from_string().