Function ScopedElement

Summary

#include <include/internal/catch_xmlwriter.h>

(1) ScopedElement(XmlWriter *writer, XmlFormatting fmt)

(2) ScopedElement(ScopedElement &&other) noexcept

Function overload

Synopsis

#include <include/internal/catch_xmlwriter.h>

ScopedElement(XmlWriter *writer, XmlFormatting fmt)

Description

No description yet.

Source

Lines 182-185 in include/internal/catch_xmlwriter.cpp. Line 46 in include/internal/catch_xmlwriter.h.

XmlWriter::ScopedElement::ScopedElement( XmlWriter* writer, XmlFormatting fmt )
:   m_writer( writer ),
    m_fmt(fmt)
{}

Synopsis

#include <include/internal/catch_xmlwriter.h>

ScopedElement(ScopedElement &&other) noexcept

Description

No description yet.

Source

Lines 187-193 in include/internal/catch_xmlwriter.cpp. Line 48 in include/internal/catch_xmlwriter.h.

XmlWriter::ScopedElement::ScopedElement( ScopedElement&& other ) noexcept
:   m_writer( other.m_writer ),
    m_fmt(other.m_fmt)
{
    other.m_writer = nullptr;
    other.m_fmt = XmlFormatting::None;
}





Add Discussion as Guest

Log in