Langmuir
Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LangmuirCore::OutputInfo Class Reference

brief A class to generate file names using the SimulationParameters More...

#include <output.h>

Public Member Functions

 OutputInfo (const QString &name, const SimulationParameters *par=0)
 Generate file name according to SimulationParameters. More...
 

Detailed Description

brief A class to generate file names using the SimulationParameters

Constructor & Destructor Documentation

LangmuirCore::OutputInfo::OutputInfo ( const QString &  name,
const SimulationParameters par = 0 
)

Generate file name according to SimulationParameters.

Parameters
namethe file name desired. The following substitutions can be made:
parpointer to a SimulationParameters object
  • if 0 or NULL, then all substitutions become empty strings

The constructor makes useful substitutions into the passed name (deatiled below) as well as making sure the name generated is valid (according to the passed SimulationParameters). If the directory of the passed name doesn't exist, it will be created.


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