![]() |
LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
|
#include "xmlnode.h"
Public Member Functions | |
template<XmlRepr T = QString> | |
UTIL_SLL_API T | Serialize (const TagSerializeConfig &={}) const |
UTIL_SLL_API Tag & | WithAttr (QByteArray, QString) && |
template<XmlRepr T> | |
T | Serialize (const TagSerializeConfig &config) const |
Static Public Member Functions | |
static UTIL_SLL_API Tag | WithText (const QByteArray &name, const QString &contents) |
static UTIL_SLL_API Node | WithTextNonEmpty (const QByteArray &name, const QString &contents) |
Public Attributes | |
QByteArray | Name_ |
TagAttrs | Attrs_ {} |
Nodes | Children_ {} |
|
nodiscard |
References UTIL_SLL_API.
T LC::Util::Tag::Serialize | ( | const TagSerializeConfig & | config | ) | const |
Definition at line 66 of file xmlnode.cpp.
References LC::Util::TagSerializeConfig::Dtd_, LC::Util::TagSerializeConfig::Indent_, Name_, LC::Util::TagSerializeConfig::Prolog_, and LC::Util::Visit().
Tag & LC::Util::Tag::WithAttr | ( | QByteArray | key, |
QString | value ) && |
Definition at line 99 of file xmlnode.cpp.
References Attrs_.
|
static |
Definition at line 34 of file xmlnode.cpp.
|
static |
Definition at line 39 of file xmlnode.cpp.
TagAttrs LC::Util::Tag::Attrs_ {} |
Definition at line 52 of file xmlnode.h.
Referenced by WithAttr().
QByteArray LC::Util::Tag::Name_ |
Definition at line 51 of file xmlnode.h.
Referenced by Serialize().