Sese Framework
x.y.z
A cross-platform framework
|
节 更多...
#include <ConfigUtil.h>
Public 类型 | |
using | Ptr = std::shared_ptr<Section> |
Public 成员函数 | |
Section (std::string name) | |
std::string | getValueByKey (const std::string &key, const std::string &default_value) const |
void | setKeyValue (const std::string &key, const std::string &value) |
Public 属性 | |
std::string | name |
std::map< std::string, std::string > | parameter {} |
节
using sese::ConfigObject::Section::Ptr = std::shared_ptr<Section> |
|
explicit |
|
nodiscard |
根据键名称获取值
key | 键名称 |
default_value | 默认值 |
void sese::ConfigObject::Section::setKeyValue | ( | const std::string & | key, |
const std::string & | value ) |
std::string sese::ConfigObject::Section::name |
std::map<std::string, std::string> sese::ConfigObject::Section::parameter {} |