Tagcoll::commandline::IntOption Class Reference

#include <Commandline.h>

Inheritance diagram for Tagcoll::commandline::IntOption:

Inheritance graph
[legend]
Collaboration diagram for Tagcoll::commandline::IntOption:

Collaboration graph
[legend]
List of all members.

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).

Constructor & Destructor Documentation

Tagcoll::commandline::IntOption::IntOption const std::string &  name  )  [inline]
 

Tagcoll::commandline::IntOption::IntOption const std::string &  name,
char  shortName,
const std::string &  longName
[inline]
 


Member Function Documentation

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.

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).

Returns:
true if it used the argument, else false

Implements Tagcoll::commandline::Option.

std::string Tagcoll::commandline::IntOption::stringValue  )  const [virtual]
 

Implements Tagcoll::commandline::Option.


The documentation for this class was generated from the following files:
Generated on Mon Jun 19 17:32:51 2006 for libtagcoll by  doxygen 1.4.6