Generated on Fri Mar 20 15:56:43 2015 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 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]

Size value.

Definition at line 581 of file driver.hh.


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