OpenMPCD
Classes | Functions
OpenMPCD::ImplementationDetails::Configuration Namespace Reference

Namespace for implementation details of OpenMPCD::Configuration. More...

Classes

class  Setting
 Helper class to handle libconfig++ settings. More...
 

Functions

void copy (const libconfig::Config &from, libconfig::Config *const to)
 Copies a libconfig::Config instance. More...
 
const std::string getSettingTypeString (const libconfig::Setting::Type type)
 Returns a string corresponding to the name of the given type. More...
 

Detailed Description

Namespace for implementation details of OpenMPCD::Configuration.

Function Documentation

◆ copy()

void OpenMPCD::ImplementationDetails::Configuration::copy ( const libconfig::Config &  from,
libconfig::Config *const  to 
)
inline

Copies a libconfig::Config instance.

Parameters
[in]fromThe instance to copy from.
[out]toThe instance to copy to.

Definition at line 28 of file copy.hpp.

◆ getSettingTypeString()

const std::string OpenMPCD::ImplementationDetails::Configuration::getSettingTypeString ( const libconfig::Setting::Type  type)
inline

Returns a string corresponding to the name of the given type.

Parameters
[in]typeThe type whose name to return.
Exceptions
ExceptionThrows if the type is unknown.

Definition at line 28 of file getSettingTypeString.hpp.