summaryrefslogtreecommitdiff
path: root/docs/html/classpugi_1_1xpath__query.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/classpugi_1_1xpath__query.html')
-rw-r--r--docs/html/classpugi_1_1xpath__query.html69
1 files changed, 51 insertions, 18 deletions
diff --git a/docs/html/classpugi_1_1xpath__query.html b/docs/html/classpugi_1_1xpath__query.html
index 8d71b64..bdbb0c2 100644
--- a/docs/html/classpugi_1_1xpath__query.html
+++ b/docs/html/classpugi_1_1xpath__query.html
@@ -34,18 +34,21 @@ A class that holds compiled XPath query and allows to evaluate query result.
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xpath__query.html#0ca09e7de62e46feb64d03995f389da3">~xpath_query</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dtor. <br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xpath__query.html#0b6e208704f8aec7130fdde78f526c9f">evaluate_boolean</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;n)</td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacepugi.html#51b15030472dcfa64b5c0d2252f8261d">xpath_type_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xpath__query.html#6e4cafbd247cec997e9a55e705fc2f19">return_type</a> () const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate expression as boolean value for the context node <em>n</em>. <a href="#0b6e208704f8aec7130fdde78f526c9f"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xpath__query.html#0e04ba6218d5af799aca3c9a5921fde1">evaluate_number</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;n)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get query expression return type. <a href="#6e4cafbd247cec997e9a55e705fc2f19"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xpath__query.html#7f4bd3d0e43b3242c5435b7279ab6feb">evaluate_boolean</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;n) const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate expression as double value for the context node <em>n</em>. <a href="#0e04ba6218d5af799aca3c9a5921fde1"></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_1xpath__query.html#0327ba2d1a1dddac08f18d400856dafc">evaluate_string</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;n)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate expression as boolean value for the context node <em>n</em>. <a href="#7f4bd3d0e43b3242c5435b7279ab6feb"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xpath__query.html#d6538470814cbf572971e83a912f5bd5">evaluate_number</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;n) const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate expression as string value for the context node <em>n</em>. <a href="#0327ba2d1a1dddac08f18d400856dafc"></a><br></td></tr>
-<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xpath__node__set.html">xpath_node_set</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xpath__query.html#6d3db9ec25068ca3efccb5126de6b28d">evaluate_node_set</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;n)</td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate expression as double value for the context node <em>n</em>. <a href="#d6538470814cbf572971e83a912f5bd5"></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_1xpath__query.html#132cb4e92eb1d90569281c2795f00198">evaluate_string</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;n) const </td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate expression as node set for the context node <em>n</em>. <a href="#6d3db9ec25068ca3efccb5126de6b28d"></a><br></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate expression as string value for the context node <em>n</em>. <a href="#132cb4e92eb1d90569281c2795f00198"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classpugi_1_1xpath__node__set.html">xpath_node_set</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xpath__query.html#de21ad3afc39efd1db110a0dfca7b865">evaluate_node_set</a> (const <a class="el" href="classpugi_1_1xml__node.html">xml_node</a> &amp;n) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate expression as node set for the context node <em>n</em>. <a href="#de21ad3afc39efd1db110a0dfca7b865"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="df3ce6efc17c1b58a1ff60bedb632140"></a><!-- doxytag: member="pugi::xpath_query::xpath_query" ref="df3ce6efc17c1b58a1ff60bedb632140" args="(const char *query)" --><p>
@@ -85,7 +88,37 @@ Throws <a class="el" href="classpugi_1_1xpath__exception.html">xpath_exception</
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
-<a class="anchor" name="0b6e208704f8aec7130fdde78f526c9f"></a><!-- doxytag: member="pugi::xpath_query::evaluate_boolean" ref="0b6e208704f8aec7130fdde78f526c9f" args="(const xml_node &amp;n)" --><p>
+<a class="anchor" name="6e4cafbd247cec997e9a55e705fc2f19"></a><!-- doxytag: member="pugi::xpath_query::return_type" ref="6e4cafbd247cec997e9a55e705fc2f19" 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"><a class="el" href="namespacepugi.html#51b15030472dcfa64b5c0d2252f8261d">xpath_type_t</a> pugi::xpath_query::return_type </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 query expression return type.
+<p>
+<dl compact><dt><b>Returns:</b></dt><dd>expression return type </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="7f4bd3d0e43b3242c5435b7279ab6feb"></a><!-- doxytag: member="pugi::xpath_query::evaluate_boolean" ref="7f4bd3d0e43b3242c5435b7279ab6feb" args="(const xml_node &amp;n) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -96,7 +129,7 @@ Throws <a class="el" href="classpugi_1_1xpath__exception.html">xpath_exception</
<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>n</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
- <td class="md" nowrap></td>
+ <td class="md" nowrap> const</td>
</tr>
</table>
</td>
@@ -122,7 +155,7 @@ If expression does not directly evaluate to boolean, the expression result is co
</td>
</tr>
</table>
-<a class="anchor" name="0e04ba6218d5af799aca3c9a5921fde1"></a><!-- doxytag: member="pugi::xpath_query::evaluate_number" ref="0e04ba6218d5af799aca3c9a5921fde1" args="(const xml_node &amp;n)" --><p>
+<a class="anchor" name="d6538470814cbf572971e83a912f5bd5"></a><!-- doxytag: member="pugi::xpath_query::evaluate_number" ref="d6538470814cbf572971e83a912f5bd5" args="(const xml_node &amp;n) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -133,7 +166,7 @@ If expression does not directly evaluate to boolean, the expression result is co
<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>n</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
- <td class="md" nowrap></td>
+ <td class="md" nowrap> const</td>
</tr>
</table>
</td>
@@ -159,7 +192,7 @@ If expression does not directly evaluate to double, the expression result is con
</td>
</tr>
</table>
-<a class="anchor" name="0327ba2d1a1dddac08f18d400856dafc"></a><!-- doxytag: member="pugi::xpath_query::evaluate_string" ref="0327ba2d1a1dddac08f18d400856dafc" args="(const xml_node &amp;n)" --><p>
+<a class="anchor" name="132cb4e92eb1d90569281c2795f00198"></a><!-- doxytag: member="pugi::xpath_query::evaluate_string" ref="132cb4e92eb1d90569281c2795f00198" args="(const xml_node &amp;n) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -170,7 +203,7 @@ If expression does not directly evaluate to double, the expression result is con
<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>n</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
- <td class="md" nowrap></td>
+ <td class="md" nowrap> const</td>
</tr>
</table>
</td>
@@ -196,7 +229,7 @@ If expression does not directly evaluate to string, the expression result is con
</td>
</tr>
</table>
-<a class="anchor" name="6d3db9ec25068ca3efccb5126de6b28d"></a><!-- doxytag: member="pugi::xpath_query::evaluate_node_set" ref="6d3db9ec25068ca3efccb5126de6b28d" args="(const xml_node &amp;n)" --><p>
+<a class="anchor" name="de21ad3afc39efd1db110a0dfca7b865"></a><!-- doxytag: member="pugi::xpath_query::evaluate_node_set" ref="de21ad3afc39efd1db110a0dfca7b865" args="(const xml_node &amp;n) const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
@@ -207,7 +240,7 @@ If expression does not directly evaluate to string, the expression result is con
<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>n</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
- <td class="md" nowrap></td>
+ <td class="md" nowrap> const</td>
</tr>
</table>
</td>
@@ -223,7 +256,7 @@ If expression does not directly evaluate to string, the expression result is con
<p>
Evaluate expression as node set for the context node <em>n</em>.
<p>
-If expression does not directly evaluate to node set, function returns empty node set. Throws std::bad_alloc on out of memory error.<p>
+If expression does not directly evaluate to node set, throws <a class="el" href="classpugi_1_1xpath__exception.html">xpath_exception</a>. Throws std::bad_alloc on out of memory error.<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>n</em>&nbsp;</td><td>- context node </td></tr>
@@ -233,7 +266,7 @@ If expression does not directly evaluate to node set, function returns empty nod
</td>
</tr>
</table>
-<hr size="1"><address style="align: right;"><small>Generated on Thu Sep 17 22:15:55 2009 for pugixml by&nbsp;
+<hr size="1"><address style="align: right;"><small>Generated on Sun Nov 8 22:15:17 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>