Rosetta 3.3
Functions
src/apps/benchmark/init_util.hh File Reference

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.

Detailed Description

initialization subroutines for Benchmark

Author:

Function Documentation

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]
void destroy_pseudo_commandline ( int  pseudo_argc,
char **  pseudo_argv 
) [inline]

References test::T200_Scoring::ii.

Referenced by core_init_from_string().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines