String-valued option.
More...
#include <driver.hh>
|
static char * | strdup (const char *s) |
| Create heap-allocated copy of string s. More...
|
|
static void | strdel (const char *s) |
| Delete heap-allocated copy of string s. More...
|
|
char * | argument (int argc, char *argv[]) const |
|
String-valued option.
Definition at line 151 of file driver.hh.
Gecode::Driver::StringValueOption::StringValueOption |
( |
const char * |
o, |
|
|
const char * |
e, |
|
|
const char * |
v = NULL |
|
) |
| |
Initialize for option o and explanation e and default value v.
Definition at line 92 of file options.cpp.
Gecode::Driver::StringValueOption::~StringValueOption |
( |
void |
| ) |
|
|
virtual |
void Gecode::Driver::StringValueOption::value |
( |
const char * |
v | ) |
|
const char * Gecode::Driver::StringValueOption::value |
( |
void |
| ) |
const |
|
inline |
Return current option value.
Definition at line 50 of file options.hpp.
int Gecode::Driver::StringValueOption::parse |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
virtual |
void Gecode::Driver::StringValueOption::help |
( |
void |
| ) |
|
|
virtual |
const char* Gecode::Driver::StringValueOption::cur |
|
protected |
The documentation for this class was generated from the following files: