Class XmlWriter::ScopedElement

Nested Relationships

This class is a nested type of Class XmlWriter.

Class Documentation

class ScopedElement

Public Functions

ScopedElement(XmlWriter *writer, XmlFormatting fmt)
ScopedElement(ScopedElement &&other) noexcept
ScopedElement &operator=(ScopedElement &&other) noexcept
~ScopedElement()
ScopedElement &writeText(StringRef text, XmlFormatting fmt = XmlFormatting::Newline | XmlFormatting::Indent)
ScopedElement &writeAttribute(StringRef name, StringRef attribute)
template<typename T, typename = typename std::enable_if_t<!std::is_convertible<T, StringRef>::value>>
inline ScopedElement &writeAttribute(StringRef name, T const &attribute)