Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
concepts::ProcessParameter Class Reference

Reads command line. More...

#include <inputParam.hh>

Inheritance diagram for concepts::ProcessParameter:
Inheritance graph
[legend]
Collaboration diagram for concepts::ProcessParameter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void add (InputParameter &input)
 Adds another object for input parameter.
bool apply (int argc, char **argv)
 Process the command line arguments.
 ProcessParameter (InputParameter &input)
 Constructor.
 ProcessParameter (InOutParameters &input)
 Constructor, just for file loading.

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

std::auto_ptr< InputFileinputfile_
 Reading input files.
Sequence< InputParameter * > inputs_
 List of input parameter objects.

Detailed Description

Reads command line.

Writes the parameters or give help description with help of InputParameter objects.

Author:
Kersten Schmidt, 2005

Definition at line 78 of file inputParam.hh.


Constructor & Destructor Documentation

concepts::ProcessParameter::ProcessParameter ( InputParameter input)

Constructor.

concepts::ProcessParameter::ProcessParameter ( InOutParameters input)

Constructor, just for file loading.


Member Function Documentation

void concepts::ProcessParameter::add ( InputParameter input) [inline]

Adds another object for input parameter.

Definition at line 85 of file inputParam.hh.

bool concepts::ProcessParameter::apply ( int  argc,
char **  argv 
)

Process the command line arguments.

Returns:
true, if everything was ok.
virtual std::ostream& concepts::ProcessParameter::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.


Member Data Documentation

Reading input files.

Definition at line 95 of file inputParam.hh.

List of input parameter objects.

Definition at line 97 of file inputParam.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)