Gecode::SizeOptions Class Reference
[Commandline options for running scripts]
Options for scripts with additional size parameter More...
#include <driver.hh>
Public Member Functions | |
SizeOptions (const char *s) | |
Initialize options for script with name s. | |
virtual void | help (void) |
Print help text. | |
void | parse (int &argc, char *argv[]) |
Parse options from arguments argv (number is argc). | |
void | size (unsigned int s) |
Set default size. | |
unsigned int | size (void) const |
Return size. | |
Protected Attributes | |
unsigned int | _size |
Size value. |
Detailed Description
Options for scripts with additional size parameter
Definition at line 579 of file driver.hh.
Constructor & Destructor Documentation
Gecode::SizeOptions::SizeOptions | ( | const char * | s | ) |
Initialize options for script with name s.
Definition at line 426 of file options.cpp.
Member Function Documentation
void Gecode::SizeOptions::help | ( | void | ) | [virtual] |
Print help text.
Reimplemented from Gecode::BaseOptions.
Definition at line 430 of file options.cpp.
void Gecode::SizeOptions::parse | ( | int & | argc, | |
char * | argv[] | |||
) |
Parse options from arguments argv (number is argc).
Reimplemented from Gecode::BaseOptions.
Definition at line 437 of file options.cpp.
void Gecode::SizeOptions::size | ( | unsigned int | s | ) | [inline] |
Set default size.
Definition at line 485 of file options.hpp.
unsigned int Gecode::SizeOptions::size | ( | void | ) | const [inline] |
Return size.
Definition at line 489 of file options.hpp.
Member Data Documentation
unsigned int Gecode::SizeOptions::_size [protected] |
The documentation for this class was generated from the following files:
- gecode/driver.hh (Revision: 14462)
- gecode/driver/options.cpp (Revision: 14446)
- gecode/driver/options.hpp (Revision: 14446)