![]() |
LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
|
#include "xmlnode.h"
Public Member Functions | |
template<HtmlRepr T = QString> | |
UTIL_SLL_API T | ToHtml (T prefix={}) const |
UTIL_SLL_API Tag & | WithAttr (QString, QString) && |
template<HtmlRepr T> | |
T | ToHtml (T result) const |
Static Public Member Functions | |
static UTIL_SLL_API Tag | WithText (const QString &name, const QString &contents) |
Public Attributes | |
QString | Name_ |
TagAttrs | Attrs_ {} |
Nodes | Children_ {} |
|
nodiscard |
References UTIL_SLL_API.
T LC::Util::Tag::ToHtml | ( | T | result | ) | const |
Definition at line 58 of file xmlnode.cpp.
References Name_.
Tag & LC::Util::Tag::WithAttr | ( | QString | key, |
QString | value ) && |
Definition at line 71 of file xmlnode.cpp.
References Attrs_.
|
static |
Definition at line 34 of file xmlnode.cpp.
TagAttrs LC::Util::Tag::Attrs_ {} |
Definition at line 38 of file xmlnode.h.
Referenced by WithAttr().