Generated on Fri Oct 19 11:25:43 2018 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 655 of file options.cpp.


Member Function Documentation

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

Print help text.

Reimplemented from Gecode::BaseOptions.

Definition at line 659 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 666 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: