O P A R - Open Architecture Particle in Cell Simulation - Version 3.0
Plasma simulations with dust particles
 All Classes Files Functions Variables Friends Macros Groups Pages
Public Member Functions
ParameterValue< TYPE > Class Template Reference

Single value paramter of some type. This reads in a single value of some type TYPE from the input file and stores it under a given address. If the parameter is not encountered in the input, a default value is set. More...

#include <parameter.h>

Inheritance diagram for ParameterValue< TYPE >:
Parameter

List of all members.

Public Member Functions

 ParameterValue (TYPE *_pValue, TYPE _Default)
 Constructor takes a pointer to the variable and a default value.
virtual ~ParameterValue ()
 Destructor.
void SetDefault (TYPE _Default)
 Sets the default value.
virtual std::string Rebuild (std::istream &in)
 Reads the value from the stream and returns the next token.
- Public Member Functions inherited from Parameter
 Parameter ()
 Default constructor.
virtual ~Parameter ()
 Destructor.

Detailed Description

template<class TYPE>
class ParameterValue< TYPE >

Single value paramter of some type. This reads in a single value of some type TYPE from the input file and stores it under a given address. If the parameter is not encountered in the input, a default value is set.


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