/usr/include/libxml++-2.6/libxml++/keepblanks.h is in libxml++2.6-dev 2.40.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | /* keepblanks.h
* libxml++ and this file are
* copyright (C) 2003 by The libxml++ Development Team, and
* are covered by the GNU Lesser General Public License, which should be
* included with libxml++ as the file COPYING.
*/
#ifndef __LIBXMLPP_KEEPBLANKS_H
#define __LIBXMLPP_KEEPBLANKS_H
namespace xmlpp
{
/**
* This class set KeepBlanksDefault and IndentTreeOutput of libxmlpp
* and restore their initial value in its destructor. As a consequence
* the wanted setting is kept during instance lifetime.
*/
class KeepBlanks {
public:
#if _MSC_VER == 1200 // detect MSVC 6.0
static const bool Default;
#else
static const bool Default = true;
#endif
public:
KeepBlanks(bool value);
~KeepBlanks();
private:
int oldKeepBlanksDefault_;
int oldIndentTreeOutput_;
};
}
#endif // __LIBXMLPP_KEEPBLANKS_H
|