#include <Commandline.h>
Inheritance diagram for Tagcoll::commandline::StringOption:
Public Member Functions | |
StringOption (const std::string &name) | |
StringOption (const std::string &name, char shortName, const std::string &longName) | |
bool | boolValue () const |
std::string | stringValue () const |
bool | parse (const char *str) |
Signal that the option has been found, with the given argument (or 0 if no argument). |
Tagcoll::commandline::StringOption::StringOption | ( | const std::string & | name | ) | [inline] |
Tagcoll::commandline::StringOption::StringOption | ( | const std::string & | name, | |
char | shortName, | |||
const std::string & | longName | |||
) | [inline] |
bool Tagcoll::commandline::StringOption::boolValue | ( | ) | const [inline, virtual] |
Implements Tagcoll::commandline::Option.
std::string Tagcoll::commandline::StringOption::stringValue | ( | ) | const [inline, virtual] |
Implements Tagcoll::commandline::Option.
bool Tagcoll::commandline::StringOption::parse | ( | const char * | str | ) | [virtual] |
Signal that the option has been found, with the given argument (or 0 if no argument).
Implements Tagcoll::commandline::Option.