|
VirtualFluids 0.2.0
Parallel CFD LBM Solver
|
#include <ConfigurationFile.h>
Public Member Functions | |
| void | clear () |
| clear all values | |
| void | load (const std::string &File) |
| load a configuration file | |
| bool | contains (const std::string &key) const |
| check if value associated with given key exists | |
| template<class T > | |
| std::vector< T > | getVector (const std::string &key) const |
| get vector with key | |
| template<class T > | |
| T | getValue (const std::string &key) const |
| get value with key | |
| template<class T > | |
| T | getValue (const std::string &key, T defaultValue) const |
| get value with key and default value | |
Public Attributes | |
| std::map< std::string, std::string > | data |
| the container is public to test this class | |
Definition at line 94 of file ConfigurationFile.h.
| void vf::basics::ConfigurationFile::clear | ( | ) |
clear all values
Definition at line 55 of file ConfigurationFile.cpp.
check if value associated with given key exists
Definition at line 103 of file ConfigurationFile.cpp.
get value with key
Definition at line 155 of file ConfigurationFile.h.
get value with key and default value
Definition at line 163 of file ConfigurationFile.h.
get vector with key
Definition at line 139 of file ConfigurationFile.h.
load a configuration file
Definition at line 60 of file ConfigurationFile.cpp.
| std::map<std::string, std::string> vf::basics::ConfigurationFile::data |
the container is public to test this class
Definition at line 119 of file ConfigurationFile.h.