ESyS-Particle  2.3.4
AIParam Class Referenceabstract

Abstract base class for interaction parameters. More...

#include <InteractionParam.h>

Collaboration diagram for AIParam:

Public Member Functions

 AIParam (const string &)
 
virtual ~AIParam ()=0
 
string getName () const
 
double getParamByName (const string &)
 
void addParameter (const string &, double)
 

Private Attributes

string m_name
 
map< string, double > m_data
 

Detailed Description

Abstract base class for interaction parameters.

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

◆ AIParam()

AIParam::AIParam ( const string &  s)

References m_name.

◆ ~AIParam()

AIParam::~AIParam ( )
pure virtual

Member Function Documentation

◆ addParameter()

void AIParam::addParameter ( const string &  s,
double  d 
)

References m_data.

◆ getName()

string AIParam::getName ( ) const
inline

References m_name.

◆ getParamByName()

double AIParam::getParamByName ( const string &  s)

References m_data.

Member Data Documentation

◆ m_data

map<string,double> AIParam::m_data
private

Referenced by addParameter(), and getParamByName().

◆ m_name

string AIParam::m_name
private

Referenced by AIParam(), and getName().


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