Rosetta 3.3
|
Program string option class. More...
#include <StringOption.hh>
Public Member Functions | |
StringOption () | |
Default constructor. | |
StringOption (StringOptionKey const &key_a, std::string const &description_a) | |
Key + description constructor. | |
StringOption * | clone () const |
Clone this. | |
virtual | ~StringOption () |
Destructor. | |
bool | is_value (std::string const &) const |
Is a string readable as this option's value type? | |
bool | is_cl_value (std::string const &value_str) const |
Is a string readable as this option's value type and a legal command line value? | |
std::string | type_string () const |
Option type code string representation. | |
Protected Member Functions | |
Value | value_of (std::string const &value_str) const |
Value of a string. | |
Friends | |
std::string | operator+ (StringOption const &option1, StringOption const &option2) |
StringOption + StringOption. | |
std::string | operator+ (StringOption const &option, std::string const &s) |
StringOption + std::string. | |
std::string | operator+ (std::string const &s, StringOption const &option) |
std::string + StringOption |
Program string option class.
utility::options::StringOption::StringOption | ( | ) | [inline] |
Default constructor.
Referenced by clone().
utility::options::StringOption::StringOption | ( | StringOptionKey const & | key_a, |
std::string const & | description_a | ||
) | [inline] |
Key + description constructor.
virtual utility::options::StringOption::~StringOption | ( | ) | [inline, virtual] |
Destructor.
StringOption* utility::options::StringOption::clone | ( | ) | const [inline, virtual] |
Clone this.
Implements utility::options::ScalarOption_T_< StringOptionKey, std::string >.
References StringOption().
bool utility::options::StringOption::is_cl_value | ( | std::string const & | value_str | ) | const [inline, virtual] |
Is a string readable as this option's value type and a legal command line value?
Implements utility::options::Option.
References ObjexxFCL::is_any_of().
bool utility::options::StringOption::is_value | ( | std::string const & | ) | const [inline, virtual] |
Is a string readable as this option's value type?
Implements utility::options::Option.
std::string utility::options::StringOption::type_string | ( | ) | const [inline, virtual] |
Option type code string representation.
Implements utility::options::Option.
Value utility::options::StringOption::value_of | ( | std::string const & | value_str | ) | const [inline, protected, virtual] |
Value of a string.
Implements utility::options::ScalarOption_T_< StringOptionKey, std::string >.
std::string operator+ | ( | StringOption const & | option1, |
StringOption const & | option2 | ||
) | [friend] |
std::string operator+ | ( | std::string const & | s, |
StringOption const & | option | ||
) | [friend] |
std::string + StringOption
std::string operator+ | ( | StringOption const & | option, |
std::string const & | s | ||
) | [friend] |
StringOption + std::string.