dl
dl::FileIniSection类 参考

#include <dl_file_ini.h>

Public 成员函数

 FileIniSection ()
 
void Set (std::string_view key, std::string_view value)
 设置键值对
 
void Add (std::string_view key, std::string_view value)
 添加键值对
 
bool Change (std::string_view key, std::string_view value)
 
bool Del (std::string_view key)
 删除键值对
 
std::string Get (std::string_view key)
 获取键值对
 

友元

class FileIni
 

详细描述

在文件 dl_file_ini.h55 行定义.

构造及析构函数说明

◆ FileIniSection()

dl::FileIniSection::FileIniSection ( )
inline

在文件 dl_file_ini.h59 行定义.

成员函数说明

◆ Add()

void dl::FileIniSection::Add ( std::string_view key,
std::string_view value )

添加键值对

参数
[in]key
[in]value
注解
已有则不添加

◆ Change()

bool dl::FileIniSection::Change ( std::string_view key,
std::string_view value )

◆ Del()

bool dl::FileIniSection::Del ( std::string_view key)

删除键值对

参数
[in]key

◆ Get()

std::string dl::FileIniSection::Get ( std::string_view key)

获取键值对

参数
[in]key

◆ Set()

void dl::FileIniSection::Set ( std::string_view key,
std::string_view value )

设置键值对

参数
[in]key
[in]value
注解
覆盖已有值,没有则添加

友元及相关符号说明

◆ FileIni

friend class FileIni
friend

在文件 dl_file_ini.h57 行定义.


该类的文档由以下文件生成: