载入中...
搜索中...
未找到

#include <Xml.h>

Public 成员函数

 Document ()
 
 ~Document ()
 
 Document (Document &&) noexcept
 
Document & operator= (Document &&) noexcept
 
 Document (const Document &)=delete
 
Document & operator= (const Document &)=delete
 
bool valid () const
 
Element root () const
 

静态 Public 成员函数

static Document parse (const std::string &text, std::string *error=nullptr)
 

详细描述

Owns a parsed XML element tree. Move-only; every Element points into it.

在文件 Xml.h 第 70 行定义.

构造及析构函数说明

◆ Document() [1/3]

eve::xml::Document::Document ( )
default

◆ ~Document()

eve::xml::Document::~Document ( )
default

◆ Document() [2/3]

eve::xml::Document::Document ( Document &&  )
defaultnoexcept

◆ Document() [3/3]

eve::xml::Document::Document ( const Document &  )
delete

成员函数说明

◆ operator=() [1/2]

Document & eve::xml::Document::operator= ( const Document &  )
delete

◆ operator=() [2/2]

Document & eve::xml::Document::operator= ( Document &&  )
defaultnoexcept

◆ parse()

Document eve::xml::Document::parse ( const std::string &  text,
std::string *  error = nullptr 
)
static

Parse text. On failure the Document is invalid, error (when given) describes the problem, and root() returns a null Element.

在文件 Xml.cpp 第 304 行定义.

引用了 error , 以及 text.

◆ root()

Element eve::xml::Document::root ( ) const
inline

在文件 Xml.h 第 86 行定义.

◆ valid()

bool eve::xml::Document::valid ( ) const
inline

在文件 Xml.h 第 85 行定义.


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