#include <Commandline.h>
Inheritance diagram for Tagcoll::commandline::IntOption:
Public Member Functions | |
IntOption (const std::string &name) | |
IntOption (const std::string &name, char shortName, const std::string &longName) | |
bool | boolValue () const |
int | intValue () 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::IntOption::IntOption | ( | const std::string & | name | ) | [inline] |
Tagcoll::commandline::IntOption::IntOption | ( | const std::string & | name, | |
char | shortName, | |||
const std::string & | longName | |||
) | [inline] |
bool Tagcoll::commandline::IntOption::boolValue | ( | ) | const [inline, virtual] |
Implements Tagcoll::commandline::Option.
int Tagcoll::commandline::IntOption::intValue | ( | ) | const [inline, virtual] |
Reimplemented from Tagcoll::commandline::Option.
std::string Tagcoll::commandline::IntOption::stringValue | ( | ) | const [virtual] |
Implements Tagcoll::commandline::Option.
bool Tagcoll::commandline::IntOption::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.