StringPar Class Reference

#include <StringPar.h>

Inheritance diagram for StringPar:

Inheritance graph
[legend]
Collaboration diagram for StringPar:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StringPar (const StringPar &par)
 StringPar (ParTxt &par) throw ( ParFileException )
void pgetstr (char result[], size_t size) const throw ( ParFileException )
 only defined in LongPar
string pgetstring () const throw ( ParFileException )
 only defined in StringPar
void print (ostream &os) const
void set_val (const string &str) throw ( ParFileException, Exception )


Detailed Description

A string parameter. The class is reponsible to make sure that the parameter can only take a string value.

Definition at line 35 of file StringPar.h.


Constructor & Destructor Documentation

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

The copy constructor.

Definition at line 46 of file StringPar.h.


Member Function Documentation

void StringPar::pgetstr ( char  result[],
size_t  size 
) const throw ( ParFileException ) [inline, virtual]

only defined in LongPar

Reimplemented from Par.

Definition at line 51 of file StringPar.h.

References Par::PARVALUE.

string StringPar::pgetstring ( void   )  const throw ( ParFileException ) [inline, virtual]

only defined in StringPar

Reimplemented from Par.

Definition at line 56 of file StringPar.h.

References Par::PARVALUE.

void StringPar::print ( ostream &  os  )  const [virtual]

To output the parameter of the form: name,type,mode,"val",min,max,prompt

Reimplemented from Par.

Definition at line 94 of file StringPar.cc.

References Par::PARMODE.


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

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