Generated on Mon Jul 6 18:09:30 2009 for Gecode by doxygen 1.5.9

Gecode::Driver::BaseOption Class Reference

Base class for options. More...

#include <driver.hh>

List of all members.

Public Member Functions

 BaseOption (const char *o, const char *e)
 Initialize for option o and explanation e.
virtual bool parse (int &argc, char *argv[])=0
 Parse option at first position and possibly delete.
virtual void help (void)=0
 Print help text.
virtual ~BaseOption (void)
 Destructor.

Protected Attributes

const char * opt
 String for option (including hyphen).
const char * exp
 Short explanation.
BaseOptionnext
 Next option.


Detailed Description

Base class for options.

Definition at line 112 of file driver.hh.


Constructor & Destructor Documentation

Gecode::Driver::BaseOption::BaseOption ( const char *  o,
const char *  e 
) [inline]

Initialize for option o and explanation e.

Definition at line 47 of file options.hpp.

Gecode::Driver::BaseOption::~BaseOption ( void   )  [inline, virtual]

Destructor.

Definition at line 50 of file options.hpp.


Member Function Documentation

virtual bool Gecode::Driver::BaseOption::parse ( int &  argc,
char *  argv[] 
) [pure virtual]

virtual void Gecode::Driver::BaseOption::help ( void   )  [pure virtual]


Member Data Documentation

const char* Gecode::Driver::BaseOption::opt [protected]

String for option (including hyphen).

Definition at line 115 of file driver.hh.

const char* Gecode::Driver::BaseOption::exp [protected]

Short explanation.

Definition at line 116 of file driver.hh.

Next option.

Definition at line 117 of file driver.hh.


The documentation for this class was generated from the following files: