Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

simth::ParameterDescription Class Reference

#include <parameterdescription.h>

List of all members.

Public Member Functions

 ParameterDescription ()
 ParameterDescription (const std::string &filename, bool verbose)
 ParameterDescription (const GwenXmlWrapper &simulationparameters, const std::string &filename, bool verbose)
std::string parseVars (const std::string &s) const

Static Public Member Functions

static unsigned id_to_int (const std::string &)

Public Attributes

std::string title
Devicevalues globalvalues
std::vector< Devicevaluesdevicesvalues
std::vector< Loopvariableloopvariables
std::vector< Connectionconnectionlist

Static Public Attributes

static std::string opener
static std::string closer
static char marker

Classes

class  Connection
class  Devicevalues
class  Loopvariable
class  Parser
class  Propertyvalue
class  Variables


Detailed Description

This class is a one-to-one representation of the content of one parameterfile.dtd XML file.


Constructor & Destructor Documentation

simth::ParameterDescription::ParameterDescription  )  [inline]
 

Empty constructor (unused)

simth::ParameterDescription::ParameterDescription const std::string &  filename,
bool  verbose
 

Read everything from the given file.

simth::ParameterDescription::ParameterDescription const GwenXmlWrapper &  simulationparameters,
const std::string &  filename,
bool  verbose
 

Reads these values from the given xml node.


Member Function Documentation

static unsigned simth::ParameterDescription::id_to_int const std::string &   )  [static]
 

Convert the various IDs to an integer.

std::string simth::ParameterDescription::parseVars const std::string &  s  )  const [inline]
 

Returns a string with the variables replaced.


Member Data Documentation

std::string simth::ParameterDescription::opener [static]
 

A string containing all opening characters for a variable reference.

std::string simth::ParameterDescription::closer [static]
 

A string containing all closing characters for a variable reference.

char simth::ParameterDescription::marker [static]
 

A character marking the beginning of a variable reference

std::string simth::ParameterDescription::title
 

Short description title of this simulation.

Devicevalues simth::ParameterDescription::globalvalues
 

This holds the global properties of the simulation system. The name is (admittantly) misleading, but this is by far the easiest implementation, hence we stick with this element here.

std::vector<Devicevalues> simth::ParameterDescription::devicesvalues
 

The list of devices and their properties

std::vector<Loopvariable> simth::ParameterDescription::loopvariables
 

The list of loop variables and their settings

std::vector<Connection> simth::ParameterDescription::connectionlist
 

The list of connections between the devices


Generated on Mon Apr 24 21:19:19 2006 for simthetic by  doxygen 1.4.1