/usr/include/libxml++-2.6/libxml++/nodes/entitydeclaration.h is in libxml++2.6-dev 2.36.0-2ubuntu1.
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 42 43 44 45 46 47 48 49 50 51 52 53 54 | /* entitydeclaration.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_ENTITYDECLARATION_H
#define __LIBXMLPP_NODES_ENTITYDECLARATION_H
#include <libxml++/nodes/contentnode.h>
#ifndef DOXYGEN_SHOULD_SKIP_THIS
extern "C" {
struct _xmlEntity;
}
#endif //#ifndef DOXYGEN_SHOULD_SKIP_THIS
namespace xmlpp
{
/** Entity declaration. This will be instantiated by the parser.
*
* @newin{2,36}
*
*/
class EntityDeclaration : public ContentNode
{
public:
explicit EntityDeclaration(_xmlNode* node);
virtual ~EntityDeclaration();
/** Get the text with character references (like "ß") resolved.
* If the entity declaration does not contain any reference to another entity,
* this is the text that an entity reference would have resolved to, if the XML
* document had been parsed with Parser::set_substitute_entities(true).
* @returns The text with character references unescaped.
*/
Glib::ustring get_resolved_text() const;
/** Get the text as read from the XML or DTD file.
* @returns The escaped text.
*/
Glib::ustring get_original_text() const;
///Access the underlying libxml implementation.
_xmlEntity* cobj();
///Access the underlying libxml implementation.
const _xmlEntity* cobj() const;
};
} // namespace xmlpp
#endif //__LIBXMLPP_NODES_ENTITYDECLARATION_H
|