charon-core  0.3.1
ParameterFile.h File Reference

Declaration of class ParameterFile. More...

#include <vector>
#include <map>
#include <iostream>
#include <stdexcept>
#include "DllEx.h"
Include dependency graph for ParameterFile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ParameterFile
 This class serves to store parameters used within the Charon Project. More...
 
class  ParameterFile::IoError
 I/O error exception thrown by ParameterFile instances. More...
 
class  ParameterFile::Unset
 Exception thrown when trying to access unset parameters. More...
 

Detailed Description

Author
Daniel Kondermann
Jens-Malte Gottfried
Cornelius Ratsch

Original file written by Daniel Kondermann, modified by Jens-Malte Gottfried et al.

Date
23.05.2009

This file does only contain the interface! In most cases, you want to include ParameterFile.hxx which does contain the template instantiations

Changes:

  • Added some useful default values to get and set functions
  • Added possibilty to remove parameters.
  • Removed setting of default values on get-functions
  • added const version of get-functions
  • throwing exceptions when erase called with an unset parameter name
  • these exceptions are derived from std::exception
  • added parName and objName to get parts of parameter descriptors

Definition in file ParameterFile.h.