libxml++: xmlpp::KeepBlanks Class Reference

This class sets KeepBlanksDefault and IndentTreeOutput of libxmlpp and restores their initial values in its destructor. More...

#include <libxml++/keepblanks.h>

Public Member Functions

 KeepBlanks (bool value) noexcept
 
 ~KeepBlanks () noexcept
 

Static Public Attributes

static const bool Default = true
 

Detailed Description

This class sets KeepBlanksDefault and IndentTreeOutput of libxmlpp and restores their initial values in its destructor.

As a consequence the wanted setting is kept during instance lifetime.

Constructor & Destructor Documentation

xmlpp::KeepBlanks::KeepBlanks ( bool  value)
noexcept
xmlpp::KeepBlanks::~KeepBlanks ( )
noexcept

Member Data Documentation

const bool xmlpp::KeepBlanks::Default = true
static