LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
xmlnode.h File Reference
#include <utility>
#include <variant>
#include <QString>
#include <QVector>
#include "sllconfig.h"
Include dependency graph for xmlnode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LC::Util::NoNode
struct  LC::Util::NoDtd
struct  LC::Util::Html5Dtd
struct  LC::Util::CustomDtd
struct  LC::Util::TagSerializeConfig
struct  LC::Util::Tag

Namespaces

namespace  LC
namespace  LC::Util
namespace  LC::Util::Tags

Concepts

concept  LC::Util::XmlRepr

Typedefs

using LC::Util::TagAttrs = QVector<std::pair<QByteArray, QString>>
using LC::Util::Node = std::variant<Tag, QString, NoNode>
using LC::Util::Nodes = QVector<Node>
using LC::Util::Dtd = std::variant<NoDtd, Html5Dtd, CustomDtd>

Functions

Nodes LC::Util::operator+ (Node &&node, Nodes &&nodes)
Nodes LC::Util::operator+ (Nodes &&nodes, Node &&node)
Nodes LC::Util::operator+ (Node &&n1, Node &&n2)
Tag LC::Util::Tags::Html (Nodes &&children)
Tag LC::Util::Tags::Charset (const QString &charset)
Tag LC::Util::Tags::Title (const QString &title)
Tag LC::Util::Tags::Style (const QString &style)
Tag LC::Util::Tags::Body (Nodes &&children)
Tag LC::Util::Tags::Image (const QString &url)
Tag LC::Util::Tags::Image (const QString &url, const QSize &size)
Tag LC::Util::Tags::Li (Nodes &&children)
Tag LC::Util::Tags::Ul (Nodes &&children)
Tag LC::Util::Tags::P (Nodes &&children)
Nodes LC::Util::Tags::TableGrid (size_t rows, size_t cols, const std::function< Nodes(size_t, size_t)> &cell)