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 | Friends
Parameter Class Reference

An abstract base class for parameters. There is only one abstract method: Rebuild. This method has to rebuild the data from the input file and return the next token of th input file in a string. More...

#include <parameter.h>

Inheritance diagram for Parameter:
ParameterTask_BASE< TYPE > ParameterValue< TYPE > DiagnosticTask< TYPE, OBJECT > ParameterTask< TYPE >

List of all members.

Public Member Functions

 Parameter ()
 Default constructor.
virtual ~Parameter ()
 Destructor.
virtual std::string Rebuild (std::istream &in)=0
 This method has to rebuild the data from the input file and return the next token of th input file in a string.

Friends

bool operator< (const Parameter &left, const Parameter &right)
 Always returns true since sorting is irrelevant.

Detailed Description

An abstract base class for parameters. There is only one abstract method: Rebuild. This method has to rebuild the data from the input file and return the next token of th input file in a string.

Todo:
Is the < operator really needed?

Member Function Documentation

virtual std::string Parameter::Rebuild ( std::istream &  in)
pure virtual

This method has to rebuild the data from the input file and return the next token of th input file in a string.

Abstract class Parameter

Implemented in ParameterTask_BASE< TYPE >, and ParameterValue< TYPE >.


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