BoolPar Class Reference

#include <BoolPar.h>

Inheritance diagram for BoolPar:

Inheritance graph
[legend]
Collaboration diagram for BoolPar:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BoolPar ()
 BoolPar (const BoolPar &par)
 BoolPar (ParTxt &par) throw ( ParFileException )
bool pgetb (void) const throw ( ParFileException )
void set_val (const string &str) throw ( ParFileException, Exception )


Detailed Description

A boolean parameter. The class is reponsible to make sure that the parameter can only take a boolean value. The class currently does not check whether min > max.

Definition at line 36 of file BoolPar.h.


Constructor & Destructor Documentation

BoolPar::BoolPar (  )  [inline]

The default constructor.

Definition at line 45 of file BoolPar.h.

BoolPar::BoolPar ( const BoolPar par  )  [inline]

The copy constructor.

Definition at line 50 of file BoolPar.h.


Member Function Documentation

bool BoolPar::pgetb ( void   )  const throw ( ParFileException ) [virtual]

The user is trying to get the boolean value of a parameter which is anything but a boolean.

Reimplemented from Par.

Definition at line 59 of file BoolPar.cc.

References Par::PARNAME, and Par::PARVALUE.


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

Generated on Thu Oct 2 17:54:20 2008 for paramxx by  doxygen 1.5.6