/usr/include/libxml++-2.6/libxml++/nodes/contentnode.h is in libxml++2.6-dev 2.34.1-1build1.
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 39 40 41 | /* node.h
* libxml++ and this file are copyright (C) 2000 by Ari Johnson, and
* are covered by the GNU Lesser General Public License, which should be
* included with libxml++ as the file COPYING.
*/
#ifndef __LIBXMLPP_NODES_CONTENTNODE_H
#define __LIBXMLPP_NODES_CONTENTNODE_H
#include <libxml++/nodes/node.h>
namespace xmlpp
{
/** Content Node. This will be instantiated by the parser.
*/
class ContentNode : public Node
{
public:
explicit ContentNode(_xmlNode* node);
virtual ~ContentNode();
/** Get the text of this content node.
* @returns The text. Note that the 5 predefined entities (&, ", <, &qt, ')
* are always resolved, so this content will show their human-readable equivalents.
*/
Glib::ustring get_content() const;
/** Set the text of this content node
* @param content The text. This must be unescaped, meaning that the predefined entities will be created for you where necessary.
* See get_content().
*/
void set_content(const Glib::ustring& content);
/// @returns Whether this node contains only white space, or is empty.
bool is_white_space() const;
};
} // namespace xmlpp
#endif //__LIBXMLPP_NODES_TEXTNODE_H
|