entityreference.h

来自「This library provides a C++ interface to」· C头文件 代码 · 共 42 行

H
42
字号
/* 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_ENTITYREFERENCE_H#define __LIBXMLPP_NODES_ENTITYREFERENCE_H#include <libxml++/nodes/node.h>#include <libxml++/api_export.h>namespace xmlpp{/** Entity references refer to previously declared entities. This will be instantiated by the parser. */class LIBXMLPP_API 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.   */  std::string 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.  std::string get_original_text() const;};} // namespace xmlpp#endif //__LIBXMLPP_NODES_TEXTNODE_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?