Generated on Thu Apr 11 13:59:41 2019 for Gecode by doxygen 1.6.3

Gecode::SizeOptions Class Reference
[Commandline options for running scripts]

Options for scripts with additional size parameter More...

#include <driver.hh>

List of all members.

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 675 of file driver.hh.


Constructor & Destructor Documentation

Gecode::SizeOptions::SizeOptions ( const char *  s  ) 

Initialize options for script with name s.

Definition at line 663 of file options.cpp.


Member Function Documentation

void Gecode::SizeOptions::help ( void   )  [virtual]

Print help text.

Reimplemented from Gecode::BaseOptions.

Definition at line 667 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 674 of file options.cpp.

void Gecode::SizeOptions::size ( unsigned int  s  )  [inline]

Set default size.

Definition at line 586 of file options.hpp.

unsigned int Gecode::SizeOptions::size ( void   )  const [inline]

Return size.

Definition at line 590 of file options.hpp.


Member Data Documentation

unsigned int Gecode::SizeOptions::_size [protected]

Size value.

Definition at line 677 of file driver.hh.


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