#include <catch_xmlwriter.h>
Definition at line 36 of file catch_xmlwriter.h.
◆ ScopedElement() [1/2]
Catch::XmlWriter::ScopedElement::ScopedElement |
( |
XmlWriter * | writer | ) |
|
◆ ScopedElement() [2/2]
Catch::XmlWriter::ScopedElement::ScopedElement |
( |
ScopedElement && | other | ) |
|
|
noexcept |
◆ ~ScopedElement()
Catch::XmlWriter::ScopedElement::~ScopedElement |
( |
| ) |
|
◆ operator=()
Definition at line 168 of file catch_xmlwriter.cpp.
168 {
169 if ( m_writer ) {
171 }
172 m_writer =
other.m_writer;
173 other.m_writer =
nullptr;
174 return *this;
175 }
◆ writeAttribute()
ScopedElement & Catch::XmlWriter::ScopedElement::writeAttribute |
( |
std::string const & | name, |
|
|
T const & | attribute ) |
|
inline |
Definition at line 48 of file catch_xmlwriter.h.
48 {
50 return *this;
51 }
XmlWriter & writeAttribute(std::string const &name, std::string const &attribute)
◆ writeText()
Definition at line 183 of file catch_xmlwriter.cpp.
183 {
185 return *this;
186 }
XmlWriter & writeText(std::string const &text, bool indent=true)
The documentation for this class was generated from the following files: