ZeroErr
zeroerr::detail::XmlWriter::ScopedElement Class Reference

Public Member Functions

 ScopedElement (XmlWriter *writer)
 
 ScopedElement (ScopedElement &&other) noexcept
 
ScopedElementoperator= (ScopedElement &&other) noexcept
 
 ~ScopedElement ()
 
ScopedElementwriteText (const std::string &text, bool indent=true, bool new_line=true)
 
template<typename T >
ScopedElementwriteAttribute (const std::string &name, const T &attribute)
 

Constructor & Destructor Documentation

◆ ScopedElement() [1/2]

zeroerr::detail::XmlWriter::ScopedElement::ScopedElement ( XmlWriter writer)

◆ ScopedElement() [2/2]

zeroerr::detail::XmlWriter::ScopedElement::ScopedElement ( ScopedElement &&  other)
noexcept

◆ ~ScopedElement()

zeroerr::detail::XmlWriter::ScopedElement::~ScopedElement ( )

Member Function Documentation

◆ operator=()

XmlWriter::ScopedElement & zeroerr::detail::XmlWriter::ScopedElement::operator= ( ScopedElement &&  other)
noexcept

◆ writeAttribute()

template<typename T >
ScopedElement& zeroerr::detail::XmlWriter::ScopedElement::writeAttribute ( const std::string &  name,
const T &  attribute 
)
inline

◆ writeText()

XmlWriter::ScopedElement & zeroerr::detail::XmlWriter::ScopedElement::writeText ( const std::string &  text,
bool  indent = true,
bool  new_line = true 
)

The documentation for this class was generated from the following file: