/usr/include/libxml++-2.6/libxml++/nodes/entityreference.h is in libxml++2.6-dev 2.34.2-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 | /* entityreference.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_ENTITYREFERENCE_H
#define __LIBXMLPP_NODES_ENTITYREFERENCE_H
#include <libxml++/nodes/node.h>
namespace xmlpp
{
/** Entity references refer to previously declared entities. This will be instantiated by the parser.
*/
class EntityReference : public Node
{
public:
explicit EntityReference(_xmlNode* node);
virtual ~EntityReference();
/** Get the text to which this entity reference would have resolved if the XML document had been parsed with Parser::set_substitute_entities(true).
* @returns The unescaped text.
*/
Glib::ustring get_resolved_text() const;
//TODO: I'm not sure what this is. So far it seems to be the same as get_resolved_text().
// Maybe it's for nested entity declarations, though I don't know if that is even possile. murrayc.
Glib::ustring get_original_text() const;
};
} // namespace xmlpp
#endif //__LIBXMLPP_NODES_TEXTNODE_H
|