keepblanks.cc
来自「c语言编写的xml解析器可以方便的遍历插入删除节点等操作的」· CC 代码 · 共 33 行
CC
33 行
/* settings.cc * 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. */#include <libxml++/keepblanks.h>#include <libxml/globals.h>namespace xmlpp{#if _MSC_VER == 1200 // detect MSVC 6.0 const bool KeepBlanks::Default = true;#endif KeepBlanks::KeepBlanks(bool value) { oldIndentTreeOutput_ = xmlIndentTreeOutput; oldKeepBlanksDefault_ = xmlKeepBlanksDefault( value?1:0 ); } KeepBlanks::~KeepBlanks() { xmlKeepBlanksDefault(oldKeepBlanksDefault_); xmlIndentTreeOutput = oldIndentTreeOutput_; }};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?