SPH
Functions
Config.cpp File Reference
#include "run/Config.h"
#include "io/FileSystem.h"
#include "system/Platform.h"
#include <fstream>

Go to the source code of this file.

Functions

NAMESPACE_SPH_BEGIN 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...
 

Function Documentation

◆ quoted()

NAMESPACE_SPH_BEGIN 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.