IMP Reference Guide
2.10.1
The Integrative Modeling Platform
|
Various general useful macros for IMP. More...
Go to the source code of this file.
Classes | |
struct | IMP::AddBoolFlag |
struct | IMP::AddFloatFlag |
struct | IMP::AddIntFlag |
struct | IMP::AddStringFlag |
Namespaces | |
IMP | |
Base functionality and abstract base classes for representation, scoring and sampling. | |
Functions | |
bool | IMP::get_is_quick_test () |
void | IMP::write_help (std::ostream &out=std::cerr) |
Flags | |
These methods add support for shared command line flags to In C++, you can also use the AddFloatFlag, AddStringFlag, AddBoolFlag and AddIntFlag classes to add flags statically. | |
std::string | IMP::get_executable_name () |
Return the name of the current executable. More... | |
void | IMP::setup_from_argv (int argc, char **argv, std::string description) |
Parse the command line flags and return the positional arguments. More... | |
Strings | IMP::setup_from_argv_allowing_unknown (int argc, char **argv, std::string description) |
Strings | IMP::setup_from_argv (int argc, char **argv, std::string description, std::string positional_description, int num_positional) |
void | IMP::setup_from_argv (const Strings &argv, std::string description) |
Strings | IMP::setup_from_argv (const Strings &argv, std::string description, std::string positional_description, int num_positional) |
void | IMP::add_string_flag (std::string name, std::string default_value, std::string description) |
std::string | IMP::get_string_flag (std::string name) |
void | IMP::add_int_flag (std::string name, size_t default_value, std::string description) |
size_t | IMP::get_int_flag (std::string name) |
void | IMP::add_bool_flag (std::string name, std::string description) |
bool | IMP::get_bool_flag (std::string name) |
void | IMP::add_float_flag (std::string name, double default_value, std::string description) |
double | IMP::get_float_flag (std::string name) |