summaryrefslogtreecommitdiff
path: root/docs/html/classpugi_1_1xml__node.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/classpugi_1_1xml__node.html')
-rw-r--r--docs/html/classpugi_1_1xml__node.html584
1 files changed, 583 insertions, 1 deletions
diff --git a/docs/html/classpugi_1_1xml__node.html b/docs/html/classpugi_1_1xml__node.html
index 8be729e..7ac3885 100644
--- a/docs/html/classpugi_1_1xml__node.html
+++ b/docs/html/classpugi_1_1xml__node.html
@@ -10,6 +10,7 @@
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
+ <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
</ul></div>
<div class="tabs">
<ul>
@@ -150,6 +151,15 @@ bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator!</b> () cons
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#36cfed4439fba1f140d89e351c2bb552">insert_attribute_before</a> (const char *name, const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;attr)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insert attribute with specified name before <em>attr</em> (for element nodes). <a href="#36cfed4439fba1f140d89e351c2bb552"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#b480b6e6080d4dd83ebb46e5d10e706b">append_copy</a> (const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;proto)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a copy of the specified attribute (for element nodes). <a href="#b480b6e6080d4dd83ebb46e5d10e706b"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#406c755ac801843febcf905228d7d0a9">insert_copy_after</a> (const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;proto, const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;attr)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insert a copy of the specified attribute after <em>attr</em> (for element nodes). <a href="#406c755ac801843febcf905228d7d0a9"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#998d3fe85ce36aa1de55cb7403cc0dd7">insert_copy_before</a> (const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;proto, const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;attr)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insert a copy of the specified attribute before <em>attr</em> (for element nodes). <a href="#998d3fe85ce36aa1de55cb7403cc0dd7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#498e41f14a04014eaf5d6af3ae8f9d99">append_child</a> (<a class="el" href="namespacepugi.html#137e94a038e4ab0ada6477cf7f6153a9">xml_node_type</a> type=node_element)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add child node with specified type (for element nodes). <a href="#498e41f14a04014eaf5d6af3ae8f9d99"></a><br></td></tr>
@@ -159,6 +169,15 @@ bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator!</b> () cons
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#a07c23d9835e8174fbe75f0c9a0c7d7b">insert_child_before</a> (<a class="el" href="namespacepugi.html#137e94a038e4ab0ada6477cf7f6153a9">xml_node_type</a> type, const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;node)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insert child node with specified type before <em>node</em> (for element nodes). <a href="#a07c23d9835e8174fbe75f0c9a0c7d7b"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#56796f244b13436de2f33da3e8c182f8">append_copy</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;proto)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a copy of the specified node as a child (for element nodes). <a href="#56796f244b13436de2f33da3e8c182f8"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#0789c30be732fc91069ac6a18dec4d92">insert_copy_after</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;proto, const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;node)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insert a copy of the specified node after <em>node</em> (for element nodes). <a href="#0789c30be732fc91069ac6a18dec4d92"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#86369d34a6d625e1859752de89c2bf30">insert_copy_before</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;proto, const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;node)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Insert a copy of the specified node before <em>node</em> (for element nodes). <a href="#86369d34a6d625e1859752de89c2bf30"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#af26856382cbd75434e7ac3ac255c2a7">remove_attribute</a> (const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;a)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove specified attribute. <a href="#af26856382cbd75434e7ac3ac255c2a7"></a><br></td></tr>
@@ -203,6 +222,18 @@ bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator!</b> () cons
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#f3a5796f1c99df52244f3c73f5c03d8e">find_node</a> (Predicate pred) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find node from subtree using predicate. <a href="#f3a5796f1c99df52244f3c73f5c03d8e"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#e733e82ce9bc52d075b3c21df09ae4b6">find_child_by_attribute</a> (const char *name, const char *attr_name, const char *attr_value)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find child node with the specified name that has specified attribute. <a href="#e733e82ce9bc52d075b3c21df09ae4b6"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#033abb62855a1ebc2f7d5866c1e3e140">find_child_by_attribute_w</a> (const char *name, const char *attr_name, const char *attr_value)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find child node with the specified name that has specified attribute (use pattern matching for node name and attribute name/value). <a href="#033abb62855a1ebc2f7d5866c1e3e140"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#baa37529c17d875b0f8cabe8bc7718a7">find_child_by_attribute</a> (const char *attr_name, const char *attr_value)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find child node that has specified attribute. <a href="#baa37529c17d875b0f8cabe8bc7718a7"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#ee61c628c55efadf5f3ff87a3353042e">find_child_by_attribute_w</a> (const char *attr_name, const char *attr_value)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find child node that has specified attribute (use pattern matching for attribute name/value). <a href="#ee61c628c55efadf5f3ff87a3353042e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#9d5ed8a5d73d252e5786f034d277d504">path</a> (char delimiter= '/') const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the absolute node path from root as a text string. <a href="#9d5ed8a5d73d252e5786f034d277d504"></a><br></td></tr>
@@ -230,6 +261,12 @@ unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><b>document_orde
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#89036df09e55056e88b93c4b517f9a5d">print</a> (<a class="el" href="classpugi_1_1xml__writer.html">xml_writer</a> &amp;writer, const char *indent=&quot;\t&quot;, unsigned int flags=<a class="el" href="namespacepugi.html#325f48a35abbaeacdfd8b7fc9ed1713c">format_default</a>, unsigned int depth=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print subtree to writer. <a href="#89036df09e55056e88b93c4b517f9a5d"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#8a0a9d086cc2e5c1f92cb79452695949">print</a> (std::ostream &amp;os, const char *indent=&quot;\t&quot;, unsigned int flags=<a class="el" href="namespacepugi.html#325f48a35abbaeacdfd8b7fc9ed1713c">format_default</a>, unsigned int depth=0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print subtree to stream. <a href="#8a0a9d086cc2e5c1f92cb79452695949"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__node.html#c5f384ec06339e0f5d69ee39766d20a9">offset_debug</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get node offset in parsed file/string (in bytes) for debugging purposes. <a href="#c5f384ec06339e0f5d69ee39766d20a9"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="303b18f86fd1e917afe4f8a9c70ab545"></a><!-- doxytag: member="pugi::xml_node::unspecified_bool_type" ref="303b18f86fd1e917afe4f8a9c70ab545" args="" -->
typedef xml_node_struct *xml_node::*&nbsp;</td><td class="memItemRight" valign="bottom"><b>unspecified_bool_type</b></td></tr>
@@ -1536,6 +1573,134 @@ Insert attribute with specified name before <em>attr</em> (for element nodes).
</td>
</tr>
</table>
+<a class="anchor" name="b480b6e6080d4dd83ebb46e5d10e706b"></a><!-- doxytag: member="pugi::xml_node::append_copy" ref="b480b6e6080d4dd83ebb46e5d10e706b" args="(const xml_attribute &amp;proto)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> pugi::xml_node::append_copy </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>proto</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a copy of the specified attribute (for element nodes).
+<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>proto</em>&nbsp;</td><td>- attribute prototype which is to be copied </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>inserted attribute, or empty attribute if there was an error (wrong node type) </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="406c755ac801843febcf905228d7d0a9"></a><!-- doxytag: member="pugi::xml_node::insert_copy_after" ref="406c755ac801843febcf905228d7d0a9" args="(const xml_attribute &amp;proto, const xml_attribute &amp;attr)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> pugi::xml_node::insert_copy_after </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>proto</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Insert a copy of the specified attribute after <em>attr</em> (for element nodes).
+<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>proto</em>&nbsp;</td><td>- attribute prototype which is to be copied </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>attr</em>&nbsp;</td><td>- attribute to insert a new one after </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>inserted attribute, or empty attribute if there was an error (wrong node type, or attr does not belong to node) </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="998d3fe85ce36aa1de55cb7403cc0dd7"></a><!-- doxytag: member="pugi::xml_node::insert_copy_before" ref="998d3fe85ce36aa1de55cb7403cc0dd7" args="(const xml_attribute &amp;proto, const xml_attribute &amp;attr)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> pugi::xml_node::insert_copy_before </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>proto</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="el" href="classpugi_1_1xml__attribute.html">xml_attribute</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Insert a copy of the specified attribute before <em>attr</em> (for element nodes).
+<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>proto</em>&nbsp;</td><td>- attribute prototype which is to be copied </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>attr</em>&nbsp;</td><td>- attribute to insert a new one before </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>inserted attribute, or empty attribute if there was an error (wrong node type, or attr does not belong to node) </dd></dl>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="498e41f14a04014eaf5d6af3ae8f9d99"></a><!-- doxytag: member="pugi::xml_node::append_child" ref="498e41f14a04014eaf5d6af3ae8f9d99" args="(xml_node_type type=node_element)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -1664,6 +1829,134 @@ Insert child node with specified type before <em>node</em> (for element nodes).
</td>
</tr>
</table>
+<a class="anchor" name="56796f244b13436de2f33da3e8c182f8"></a><!-- doxytag: member="pugi::xml_node::append_copy" ref="56796f244b13436de2f33da3e8c182f8" args="(const xml_node &amp;proto)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a> pugi::xml_node::append_copy </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>proto</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a copy of the specified node as a child (for element nodes).
+<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>proto</em>&nbsp;</td><td>- node prototype which is to be copied </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>inserted node, or empty node if there was an error (wrong node type) </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="0789c30be732fc91069ac6a18dec4d92"></a><!-- doxytag: member="pugi::xml_node::insert_copy_after" ref="0789c30be732fc91069ac6a18dec4d92" args="(const xml_node &amp;proto, const xml_node &amp;node)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a> pugi::xml_node::insert_copy_after </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>proto</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>node</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Insert a copy of the specified node after <em>node</em> (for element nodes).
+<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>proto</em>&nbsp;</td><td>- node prototype which is to be copied </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>- node to insert a new one after </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>inserted node, or empty node if there was an error (wrong node type, or <em>node</em> is not a child of this node) </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="86369d34a6d625e1859752de89c2bf30"></a><!-- doxytag: member="pugi::xml_node::insert_copy_before" ref="86369d34a6d625e1859752de89c2bf30" args="(const xml_node &amp;proto, const xml_node &amp;node)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a> pugi::xml_node::insert_copy_before </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>proto</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>node</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Insert a copy of the specified node before <em>node</em> (for element nodes).
+<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>proto</em>&nbsp;</td><td>- node prototype which is to be copied </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>node</em>&nbsp;</td><td>- node to insert a new one before </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>inserted node, or empty node if there was an error (wrong node type, or <em>node</em> is not a child of this node) </dd></dl>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="af26856382cbd75434e7ac3ac255c2a7"></a><!-- doxytag: member="pugi::xml_node::remove_attribute" ref="af26856382cbd75434e7ac3ac255c2a7" args="(const xml_attribute &amp;a)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -2142,6 +2435,204 @@ Find node from subtree using predicate.
</td>
</tr>
</table>
+<a class="anchor" name="e733e82ce9bc52d075b3c21df09ae4b6"></a><!-- doxytag: member="pugi::xml_node::find_child_by_attribute" ref="e733e82ce9bc52d075b3c21df09ae4b6" args="(const char *name, const char *attr_name, const char *attr_value)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a> pugi::xml_node::find_child_by_attribute </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr_name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr_value</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Find child node with the specified name that has specified attribute.
+<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>name</em>&nbsp;</td><td>- child node name </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>attr_name</em>&nbsp;</td><td>- attribute name of child node </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>attr_value</em>&nbsp;</td><td>- attribute value of child node </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>first matching child node, or empty node </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="033abb62855a1ebc2f7d5866c1e3e140"></a><!-- doxytag: member="pugi::xml_node::find_child_by_attribute_w" ref="033abb62855a1ebc2f7d5866c1e3e140" args="(const char *name, const char *attr_name, const char *attr_value)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a> pugi::xml_node::find_child_by_attribute_w </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr_name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr_value</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Find child node with the specified name that has specified attribute (use pattern matching for node name and attribute name/value).
+<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>name</em>&nbsp;</td><td>- pattern for child node name </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>attr_name</em>&nbsp;</td><td>- pattern for attribute name of child node </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>attr_value</em>&nbsp;</td><td>- pattern for attribute value of child node </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>first matching child node, or empty node </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="baa37529c17d875b0f8cabe8bc7718a7"></a><!-- doxytag: member="pugi::xml_node::find_child_by_attribute" ref="baa37529c17d875b0f8cabe8bc7718a7" args="(const char *attr_name, const char *attr_value)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a> pugi::xml_node::find_child_by_attribute </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr_name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr_value</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Find child node that has specified attribute.
+<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>attr_name</em>&nbsp;</td><td>- attribute name of child node </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>attr_value</em>&nbsp;</td><td>- attribute value of child node </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>first matching child node, or empty node </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="ee61c628c55efadf5f3ff87a3353042e"></a><!-- doxytag: member="pugi::xml_node::find_child_by_attribute_w" ref="ee61c628c55efadf5f3ff87a3353042e" args="(const char *attr_name, const char *attr_value)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="classpugi_1_1xml__node.html">xml_node</a> pugi::xml_node::find_child_by_attribute_w </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr_name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>attr_value</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Find child node that has specified attribute (use pattern matching for attribute name/value).
+<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>attr_name</em>&nbsp;</td><td>- pattern for attribute name of child node </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>attr_value</em>&nbsp;</td><td>- pattern for attribute value of child node </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>first matching child node, or empty node </dd></dl>
+ </td>
+ </tr>
+</table>
<a class="anchor" name="9d5ed8a5d73d252e5786f034d277d504"></a><!-- doxytag: member="pugi::xml_node::path" ref="9d5ed8a5d73d252e5786f034d277d504" args="(char delimiter= '/') const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
@@ -2466,7 +2957,98 @@ Print subtree to writer.
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Tue Jan 6 01:30:47 2009 for pugixml by&nbsp;
+<a class="anchor" name="8a0a9d086cc2e5c1f92cb79452695949"></a><!-- doxytag: member="pugi::xml_node::print" ref="8a0a9d086cc2e5c1f92cb79452695949" args="(std::ostream &amp;os, const char *indent=&quot;\t&quot;, unsigned int flags=format_default, unsigned int depth=0)" --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void pugi::xml_node::print </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::ostream &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>os</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>indent</em> = <code>&quot;\t&quot;</code>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>unsigned int&nbsp;</td>
+ <td class="mdname" nowrap> <em>flags</em> = <code><a class="el" href="namespacepugi.html#325f48a35abbaeacdfd8b7fc9ed1713c">format_default</a></code>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>unsigned int&nbsp;</td>
+ <td class="mdname" nowrap> <em>depth</em> = <code>0</code></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Print subtree to stream.
+<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>os</em>&nbsp;</td><td>- output stream </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>indent</em>&nbsp;</td><td>- indentation string </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>flags</em>&nbsp;</td><td>- formatting flags </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>depth</em>&nbsp;</td><td>- starting depth (used for indentation) </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>Use <a class="el" href="classpugi_1_1xml__node.html#89036df09e55056e88b93c4b517f9a5d">print()</a> with <a class="el" href="classpugi_1_1xml__writer__stream.html">xml_writer_stream</a> instead </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="c5f384ec06339e0f5d69ee39766d20a9"></a><!-- doxytag: member="pugi::xml_node::offset_debug" ref="c5f384ec06339e0f5d69ee39766d20a9" args="() const " --><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">int pugi::xml_node::offset_debug </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get node offset in parsed file/string (in bytes) for debugging purposes.
+<p>
+<dl compact><dt><b>Returns:</b></dt><dd>offset in bytes to start of node data, or -1 in case of error </dd></dl>
+<dl compact><dt><b>Note:</b></dt><dd>This will return -1 if node information changed to the extent that it's no longer possible to calculate offset, for example if element node name has significantly changed; this is guaranteed to return correct offset only for nodes that have not changed since parsing. </dd></dl>
+ </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Sun Jan 25 23:51:33 2009 for pugixml by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
</body>