OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Static Private Member Functions | List of all members
ConfigBindings Class Reference

#include <ConfigBindings.h>

Inheritance diagram for ConfigBindings:
IBindings

Public Member Functions

virtual sol::table createBindingTable (sol::state_view &solState) const override
 
- Public Member Functions inherited from IBindings
virtual ~IBindings ()=default
 
virtual sol::table createBindingTable (sol::state_view &solState) const =0
 

Static Private Member Functions

static bool setConfigValue1 (std::string_view sectionName, std::string_view configName, std::string_view value)
 
static bool setConfigValue2 (std::string_view configName, std::string_view value)
 
static std::optional< std::string > getConfigValue1 (std::string_view sectionName, std::string_view configName)
 
static std::optional< std::string > getConfigValue2 (std::string_view configName)
 

Member Function Documentation

◆ createBindingTable()

sol::table ConfigBindings::createBindingTable ( sol::state_view &  solState) const
overridevirtual

Implements IBindings.

◆ getConfigValue1()

std::optional< std::string > ConfigBindings::getConfigValue1 ( std::string_view  sectionName,
std::string_view  configName 
)
staticprivate

◆ getConfigValue2()

std::optional< std::string > ConfigBindings::getConfigValue2 ( std::string_view  configName)
staticprivate

◆ setConfigValue1()

bool ConfigBindings::setConfigValue1 ( std::string_view  sectionName,
std::string_view  configName,
std::string_view  value 
)
staticprivate

◆ setConfigValue2()

bool ConfigBindings::setConfigValue2 ( std::string_view  configName,
std::string_view  value 
)
staticprivate

The documentation for this class was generated from the following files: