SPH
Classes | Typedefs | Functions
Config.h File Reference

Interface for the configuration files storing job data. More...

#include "io/Path.h"
#include "objects/Exceptions.h"
#include "objects/containers/UnorderedMap.h"
#include "objects/geometry/Vector.h"
#include "objects/utility/StringUtils.h"
#include "objects/wrappers/Function.h"

Go to the source code of this file.

Classes

class  IConfigValue
 Interface for value written to the config file. More...
 
class  ConfigValue< Type >
 Generic implementation of IConfigValue, using std::stringstream for the (de)serialization. More...
 
class  ConfigValue< Vector >
 
class  ConfigValue< Interval >
 
class  ConfigValue< std::string >
 
class  ConfigValue< Path >
 
class  ConfigNode
 Represents a single node in the hierarchy written into config file. More...
 
class  Config
 Provides functionality for reading and writing configuration files. More...
 

Typedefs

using ConfigException = Exception
 

Functions

std::string quoted (const std::string &value)
 Helper function wrapping a string by quotes. More...
 
std::string unquoted (const std::string &value)
 Removes leading and trailing quote from a string. More...
 

Detailed Description

Interface for the configuration files storing job data.

Author
Pavel Sevecek (sevecek at sirrah.troja.mff.cuni.cz)
Date
2016-2021

Definition in file Config.h.

Typedef Documentation

◆ ConfigException

Definition at line 17 of file Config.h.

Function Documentation

◆ quoted()

std::string quoted ( const std::string &  value)

Helper function wrapping a string by quotes.

Definition at line 8 of file Config.cpp.

◆ unquoted()

std::string unquoted ( const std::string &  value)

Removes leading and trailing quote from a string.

Definition at line 12 of file Config.cpp.