Tagcoll::commandline::ExistingFileOption Class Reference

#include <Commandline.h>

Inheritance diagram for Tagcoll::commandline::ExistingFileOption:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ExistingFileOption (const std::string &name)
 ExistingFileOption (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).

Constructor & Destructor Documentation

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

Tagcoll::commandline::ExistingFileOption::ExistingFileOption ( const std::string &  name,
char  shortName,
const std::string &  longName 
) [inline]


Member Function Documentation

bool Tagcoll::commandline::ExistingFileOption::boolValue (  )  const [inline, virtual]

Implements Tagcoll::commandline::Option.

std::string Tagcoll::commandline::ExistingFileOption::stringValue (  )  const [inline, virtual]

Implements Tagcoll::commandline::Option.

bool Tagcoll::commandline::ExistingFileOption::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.


The documentation for this class was generated from the following files:
Generated on Sat Jan 17 03:44:15 2009 for libtagcoll by  doxygen 1.5.1