NeTrainSim 0.1.1 beta
The Open-Source Network Trains Simulator
 
Loading...
Searching...
No Matches
ConfigurationManager Class Reference

#include <configurationmanager.h>

Public Member Functions

 ConfigurationManager (const QString &iniFilePath)
 
QString getConfigValue (const QString &section, const QString &key, const QString &defaultValue=QString()) const
 
QStringList getConfigKeys (const QString &section)
 
QStringList getConfigSections () const
 
void setConfigValue (const QString &section, const QString &key, const QString &value)
 

Constructor & Destructor Documentation

◆ ConfigurationManager()

ConfigurationManager::ConfigurationManager ( const QString &  iniFilePath)
explicit

Member Function Documentation

◆ getConfigKeys()

QStringList ConfigurationManager::getConfigKeys ( const QString &  section)

◆ getConfigSections()

QStringList ConfigurationManager::getConfigSections ( ) const

◆ getConfigValue()

QString ConfigurationManager::getConfigValue ( const QString &  section,
const QString &  key,
const QString &  defaultValue = QString() 
) const

◆ setConfigValue()

void ConfigurationManager::setConfigValue ( const QString &  section,
const QString &  key,
const QString &  value 
)