Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > cddc1b1793c66b29e40062ad7e3275fc > files > 125

libxml++2.6-devel-2.24.0-1mdv2009.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libxml++: xmlpp::Parser Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacexmlpp.html">xmlpp</a>::<a class="el" href="classxmlpp_1_1Parser.html">Parser</a>
  </div>
</div>
<div class="contents">
<h1>xmlpp::Parser Class Reference</h1><!-- doxytag: class="xmlpp::Parser" --><!-- doxytag: inherits="xmlpp::NonCopyable" -->XML parser.  
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for xmlpp::Parser:</div>
<div class="dynsection">
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classxmlpp_1_1Parser-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#8e7c797006bb5398629cf98f4141e3e6">size_type</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#b2990f22147cb2163eda6e773fb2eb68">Parser</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#cf64cbff6b9cf4010226fc1c803d56f9">~Parser</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#39332721610231ca8c5114e245121cc1">set_validate</a> (<a class="el" href="classbool.html">bool</a> val=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">By default, the parser will not validate the XML file.  <a href="#39332721610231ca8c5114e245121cc1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbool.html">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#7329d0daf70030bef41b92e6ed22bd63">get_validate</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#39332721610231ca8c5114e245121cc1" title="By default, the parser will not validate the XML file.">set_validate()</a>.  <a href="#7329d0daf70030bef41b92e6ed22bd63"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#960e9ee12df9b631c694ca002932cf7f">set_substitute_entities</a> (<a class="el" href="classbool.html">bool</a> val=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set whether the parser will automatically substitute entity references with the text of the entities' definitions.  <a href="#960e9ee12df9b631c694ca002932cf7f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classbool.html">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#e71762868b009ccae8f00c1d34df00e7">get_substitute_entities</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See <a class="el" href="classxmlpp_1_1Parser.html#960e9ee12df9b631c694ca002932cf7f" title="Set whether the parser will automatically substitute entity references with the text...">set_substitute_entities()</a>.  <a href="#e71762868b009ccae8f00c1d34df00e7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#d0855eff9a35a9160800ad58ad19fd7e">parse_file</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;filename)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse an XML document from a file.  <a href="#d0855eff9a35a9160800ad58ad19fd7e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#bbbf646035570f1aa5366558dfc2ae01">parse_memory</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;contents)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse an XML document from a string.  <a href="#bbbf646035570f1aa5366558dfc2ae01"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#d7134b1c68308351785acb0302aa54db">parse_stream</a> (<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__istream.html">std::istream</a> &amp;in)=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse an XML document from a stream.  <a href="#d7134b1c68308351785acb0302aa54db"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#25f92d0a820d96accfe316a066bade49">initialize_context</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#346ebfb1219e1c0d3acbd017a07706e6">release_underlying</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#36860900bd7f118adfd7b7887278e4fb">on_validity_error</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;message)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#d0876425a0d687f24bc54b44d950ab2c">on_validity_warning</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;message)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#860e1cff3da52a4bbb0b17a06475399f">handleException</a> (const <a class="el" href="classxmlpp_1_1exception.html">exception</a> &amp;e)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#9daba11c6746d91153329a9dbd8decc5">check_for_exception</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ad45390ab3d30d1dea26001f2d6a9a2f">check_for_validity_messages</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#7ec91483923a6023e7ac56eeaf16b1e3">callback_validity_error</a> (void *ctx, const char *msg,...)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#a573fc538688db238714cef413944567">callback_validity_warning</a> (void *ctx, const char *msg,...)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">_xmlParserCtxt *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#2b49a51f1a8fce897dffcb1e81f87907">context_</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1exception.html">exception</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#7b2a100f91d2ead57de5ef640ebf91a9">exception_</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#367b4132d663f1c1adf1515c4a6e959f">validate_error_</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#ac64f7a377ae85c848dbb8008a43f555">validate_warning_</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbool.html">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#2d21ddd4fdd34f845937649eb4fb8814">validate_</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbool.html">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Parser.html#969bc262133a8310cfbfc097f925c00c">substitute_entities_</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
XML parser. <hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="8e7c797006bb5398629cf98f4141e3e6"></a><!-- doxytag: member="xmlpp::Parser::size_type" ref="8e7c797006bb5398629cf98f4141e3e6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned int <a class="el" href="classxmlpp_1_1Parser.html#8e7c797006bb5398629cf98f4141e3e6">xmlpp::Parser::size_type</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b2990f22147cb2163eda6e773fb2eb68"></a><!-- doxytag: member="xmlpp::Parser::Parser" ref="b2990f22147cb2163eda6e773fb2eb68" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::Parser::Parser           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="cf64cbff6b9cf4010226fc1c803d56f9"></a><!-- doxytag: member="xmlpp::Parser::~Parser" ref="cf64cbff6b9cf4010226fc1c803d56f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual xmlpp::Parser::~Parser           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="39332721610231ca8c5114e245121cc1"></a><!-- doxytag: member="xmlpp::Parser::set_validate" ref="39332721610231ca8c5114e245121cc1" args="(bool val=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::set_validate           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classbool.html">bool</a>&nbsp;</td>
          <td class="paramname"> <em>val</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
By default, the parser will not validate the XML file. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>val</em>&nbsp;</td><td>Whether the document should be validated. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="7329d0daf70030bef41b92e6ed22bd63"></a><!-- doxytag: member="xmlpp::Parser::get_validate" ref="7329d0daf70030bef41b92e6ed22bd63" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classbool.html">bool</a> xmlpp::Parser::get_validate           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
See <a class="el" href="classxmlpp_1_1Parser.html#39332721610231ca8c5114e245121cc1" title="By default, the parser will not validate the XML file.">set_validate()</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Whether the parser will validate the XML file. </dd></dl>

</div>
</div><p>
<a class="anchor" name="960e9ee12df9b631c694ca002932cf7f"></a><!-- doxytag: member="xmlpp::Parser::set_substitute_entities" ref="960e9ee12df9b631c694ca002932cf7f" args="(bool val=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::set_substitute_entities           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classbool.html">bool</a>&nbsp;</td>
          <td class="paramname"> <em>val</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set whether the parser will automatically substitute entity references with the text of the entities' definitions. 
<p>
For instance, this affects the text returned by <a class="el" href="classxmlpp_1_1ContentNode.html#dd25e879109b4481281ccb876e684819" title="Get the text of this content node.">ContentNode::get_content()</a>. By default, the parser will not substitute entities, so that you do not lose the entity reference information. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>val</em>&nbsp;</td><td>Whether entities will be substitued. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="e71762868b009ccae8f00c1d34df00e7"></a><!-- doxytag: member="xmlpp::Parser::get_substitute_entities" ref="e71762868b009ccae8f00c1d34df00e7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classbool.html">bool</a> xmlpp::Parser::get_substitute_entities           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
See <a class="el" href="classxmlpp_1_1Parser.html#960e9ee12df9b631c694ca002932cf7f" title="Set whether the parser will automatically substitute entity references with the text...">set_substitute_entities()</a>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Whether entities will be substituted during parsing. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d0855eff9a35a9160800ad58ad19fd7e"></a><!-- doxytag: member="xmlpp::Parser::parse_file" ref="d0855eff9a35a9160800ad58ad19fd7e" args="(const Glib::ustring &amp;filename)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::parse_file           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>filename</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parse an XML document from a file. 
<p>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions.">exception</a></em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>The path to the file. </td></tr>
  </table>
</dl>

<p>Implemented in <a class="el" href="classxmlpp_1_1DomParser.html#437c91bb64033669649d91f28ecc7dc9">xmlpp::DomParser</a>, and <a class="el" href="classxmlpp_1_1SaxParser.html#c2b0cf0069a73fa92c80f6d455923698">xmlpp::SaxParser</a>.</p>

</div>
</div><p>
<a class="anchor" name="bbbf646035570f1aa5366558dfc2ae01"></a><!-- doxytag: member="xmlpp::Parser::parse_memory" ref="bbbf646035570f1aa5366558dfc2ae01" args="(const Glib::ustring &amp;contents)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::parse_memory           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>contents</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parse an XML document from a string. 
<p>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions.">exception</a></em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>contents</em>&nbsp;</td><td>The XML document as a string. </td></tr>
  </table>
</dl>

<p>Implemented in <a class="el" href="classxmlpp_1_1DomParser.html#2110398d5a19320e7bbe65e0edb2ab9c">xmlpp::DomParser</a>, and <a class="el" href="classxmlpp_1_1SaxParser.html#b9367c59f02e0db5a2b17cd48ddf74f9">xmlpp::SaxParser</a>.</p>

</div>
</div><p>
<a class="anchor" name="d7134b1c68308351785acb0302aa54db"></a><!-- doxytag: member="xmlpp::Parser::parse_stream" ref="d7134b1c68308351785acb0302aa54db" args="(std::istream &amp;in)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::parse_stream           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__istream.html">std::istream</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>in</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parse an XML document from a stream. 
<p>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions.">exception</a></em>&nbsp;</td><td></td></tr>
  </table>
</dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>in</em>&nbsp;</td><td>The stream. </td></tr>
  </table>
</dl>

<p>Implemented in <a class="el" href="classxmlpp_1_1DomParser.html#3d02d6c5b4194b47118e92a8e258743c">xmlpp::DomParser</a>, and <a class="el" href="classxmlpp_1_1SaxParser.html#aa731e56f99aa7f8313a1f096389f723">xmlpp::SaxParser</a>.</p>

</div>
</div><p>
<a class="anchor" name="25f92d0a820d96accfe316a066bade49"></a><!-- doxytag: member="xmlpp::Parser::initialize_context" ref="25f92d0a820d96accfe316a066bade49" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::initialize_context           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="346ebfb1219e1c0d3acbd017a07706e6"></a><!-- doxytag: member="xmlpp::Parser::release_underlying" ref="346ebfb1219e1c0d3acbd017a07706e6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::release_underlying           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented in <a class="el" href="classxmlpp_1_1DomParser.html#58a312db2834a41a77ca290dc6dc48fe">xmlpp::DomParser</a>, and <a class="el" href="classxmlpp_1_1SaxParser.html#839554028d8bad81774040eb67d23103">xmlpp::SaxParser</a>.</p>

</div>
</div><p>
<a class="anchor" name="36860900bd7f118adfd7b7887278e4fb"></a><!-- doxytag: member="xmlpp::Parser::on_validity_error" ref="36860900bd7f118adfd7b7887278e4fb" args="(const Glib::ustring &amp;message)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::on_validity_error           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>message</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="d0876425a0d687f24bc54b44d950ab2c"></a><!-- doxytag: member="xmlpp::Parser::on_validity_warning" ref="d0876425a0d687f24bc54b44d950ab2c" args="(const Glib::ustring &amp;message)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::on_validity_warning           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>message</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="860e1cff3da52a4bbb0b17a06475399f"></a><!-- doxytag: member="xmlpp::Parser::handleException" ref="860e1cff3da52a4bbb0b17a06475399f" args="(const exception &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::handleException           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1exception.html">exception</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="9daba11c6746d91153329a9dbd8decc5"></a><!-- doxytag: member="xmlpp::Parser::check_for_exception" ref="9daba11c6746d91153329a9dbd8decc5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::check_for_exception           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ad45390ab3d30d1dea26001f2d6a9a2f"></a><!-- doxytag: member="xmlpp::Parser::check_for_validity_messages" ref="ad45390ab3d30d1dea26001f2d6a9a2f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void xmlpp::Parser::check_for_validity_messages           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="7ec91483923a6023e7ac56eeaf16b1e3"></a><!-- doxytag: member="xmlpp::Parser::callback_validity_error" ref="7ec91483923a6023e7ac56eeaf16b1e3" args="(void *ctx, const char *msg,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void xmlpp::Parser::callback_validity_error           </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&nbsp;</td>
          <td class="paramname"> <em>...</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="a573fc538688db238714cef413944567"></a><!-- doxytag: member="xmlpp::Parser::callback_validity_warning" ref="a573fc538688db238714cef413944567" args="(void *ctx, const char *msg,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void xmlpp::Parser::callback_validity_warning           </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>ctx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&nbsp;</td>
          <td class="paramname"> <em>...</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="2b49a51f1a8fce897dffcb1e81f87907"></a><!-- doxytag: member="xmlpp::Parser::context_" ref="2b49a51f1a8fce897dffcb1e81f87907" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_xmlParserCtxt* <a class="el" href="classxmlpp_1_1Parser.html#2b49a51f1a8fce897dffcb1e81f87907">xmlpp::Parser::context_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="7b2a100f91d2ead57de5ef640ebf91a9"></a><!-- doxytag: member="xmlpp::Parser::exception_" ref="7b2a100f91d2ead57de5ef640ebf91a9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1exception.html">exception</a>* <a class="el" href="classxmlpp_1_1Parser.html#7b2a100f91d2ead57de5ef640ebf91a9">xmlpp::Parser::exception_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="367b4132d663f1c1adf1515c4a6e959f"></a><!-- doxytag: member="xmlpp::Parser::validate_error_" ref="367b4132d663f1c1adf1515c4a6e959f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="classxmlpp_1_1Parser.html#367b4132d663f1c1adf1515c4a6e959f">xmlpp::Parser::validate_error_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ac64f7a377ae85c848dbb8008a43f555"></a><!-- doxytag: member="xmlpp::Parser::validate_warning_" ref="ac64f7a377ae85c848dbb8008a43f555" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> <a class="el" href="classxmlpp_1_1Parser.html#ac64f7a377ae85c848dbb8008a43f555">xmlpp::Parser::validate_warning_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="2d21ddd4fdd34f845937649eb4fb8814"></a><!-- doxytag: member="xmlpp::Parser::validate_" ref="2d21ddd4fdd34f845937649eb4fb8814" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> <a class="el" href="classxmlpp_1_1Parser.html#2d21ddd4fdd34f845937649eb4fb8814">xmlpp::Parser::validate_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="969bc262133a8310cfbfc097f925c00c"></a><!-- doxytag: member="xmlpp::Parser::substitute_entities_" ref="969bc262133a8310cfbfc097f925c00c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> <a class="el" href="classxmlpp_1_1Parser.html#969bc262133a8310cfbfc097f925c00c">xmlpp::Parser::substitute_entities_</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="parser_8h.html">parser.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jul 1 11:39:59 2008 for libxml++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>