dl
dl::FileXmlElement类 参考

#include <dl_file_xml.h>

Public 成员函数

template<IsBase T>
void SetAttribute (std::string_view name, T value)
 设置属性
 
void SetAttribute (std::string_view name, std::string_view value)
 
void SetAttribute (std::string_view name, const std::string &value)
 
FileXmlElement GetChildElement (const std::vector< std::string_view > &vec_name)
 获取子元素
 
void Set (XMLElement *ele)
 
XMLElement * Get ()
 
 FileXmlElement ()
 

详细描述

在文件 dl_file_xml.h20 行定义.

构造及析构函数说明

◆ FileXmlElement()

dl::FileXmlElement::FileXmlElement ( )
inline

在文件 dl_file_xml.h84 行定义.

成员函数说明

◆ Get()

XMLElement * dl::FileXmlElement::Get ( )
inline

在文件 dl_file_xml.h81 行定义.

◆ GetChildElement()

FileXmlElement dl::FileXmlElement::GetChildElement ( const std::vector< std::string_view > & vec_name)
inline

获取子元素

参数
[in]vec_name子元素路径
返回值
失败返回空

在文件 dl_file_xml.h53 行定义.

◆ Set()

void dl::FileXmlElement::Set ( XMLElement * ele)
inline

在文件 dl_file_xml.h80 行定义.

◆ SetAttribute() [1/3]

void dl::FileXmlElement::SetAttribute ( std::string_view name,
const std::string & value )
inline

在文件 dl_file_xml.h42 行定义.

◆ SetAttribute() [2/3]

void dl::FileXmlElement::SetAttribute ( std::string_view name,
std::string_view value )
inline

在文件 dl_file_xml.h36 行定义.

◆ SetAttribute() [3/3]

template<IsBase T>
void dl::FileXmlElement::SetAttribute ( std::string_view name,
T value )
inline

设置属性

参数
[in]name属性名
[in]value
返回值
失败输出日志

在文件 dl_file_xml.h30 行定义.


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