Generated on Mon Aug 25 11:35:48 2008 for Gecode by doxygen 1.5.6

SizeOptions Class Reference

#include <support.hh>

Inherits Options.

List of all members.


Detailed Description

Options for examples with additional size parameter.

Definition at line 290 of file support.hh.


Public Member Functions

 SizeOptions (const char *s)
 Initialize options for example 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.

Constructor & Destructor Documentation

SizeOptions::SizeOptions ( const char *  s  ) 

Initialize options for example with name s.

Definition at line 207 of file options.cc.


Member Function Documentation

void SizeOptions::help ( void   )  [virtual]

Print help text.

Reimplemented from Options.

Definition at line 211 of file options.cc.

void SizeOptions::parse ( int &  argc,
char *  argv[] 
)

Parse options from arguments argv (number is argc).

Reimplemented from Options.

Definition at line 218 of file options.cc.

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

Set default size.

Definition at line 268 of file options.icc.

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

Return size.

Definition at line 272 of file options.icc.


Member Data Documentation

unsigned int SizeOptions::_size [protected]

Size value.

Definition at line 292 of file support.hh.


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