You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

674 lines
41 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>Xerces-C++: DOMXPathResult Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">Xerces-C++
  21. &#160;<span id="projectnumber">3.1.2</span>
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.9.1 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  34. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  35. <li><a href="files.html"><span>Files</span></a></li>
  36. </ul>
  37. </div>
  38. <div id="navrow2" class="tabs2">
  39. <ul class="tablist">
  40. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  41. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  42. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  43. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  44. </ul>
  45. </div>
  46. </div><!-- top -->
  47. <div class="header">
  48. <div class="summary">
  49. <a href="classDOMXPathResult-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DOMXPathResult Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>The <code><a class="el" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath 1.0 or XPath 2.0 expression within the context of a particular node. ">DOMXPathResult</a></code> interface represents the result of the evaluation of an XPath 1.0 or XPath 2.0 expression within the context of a particular node.
  55. <a href="classDOMXPathResult.html#details">More...</a></p>
  56. <table class="memberdecls">
  57. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  58. Public Types</h2></td></tr>
  59. <tr><td colspan="2"><div class="groupHeader">Public Constants</div></td></tr>
  60. <tr class="memitem:ab718aec450c5438e0cc3a6920044a0c1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1">ResultType</a> { <br />
  61. &#160;&#160;<a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1ab6800b7cef4e81a65ca48732dd8fd05b">ANY_TYPE</a> = 0,
  62. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1aea34a8448e783d65ddd9519195cb072d">NUMBER_TYPE</a> = 1,
  63. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1a46318bb5e72271bc9bf5c08b9012fa31">STRING_TYPE</a> = 2,
  64. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1ab783d233cc89a2850f4e13ca637d4994">BOOLEAN_TYPE</a> = 3,
  65. <br />
  66. &#160;&#160;<a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1a6461a931354777353b499091cfc14d27">UNORDERED_NODE_ITERATOR_TYPE</a> = 4,
  67. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1a8e8ed330af65222a55d3ad156a7d11df">ORDERED_NODE_ITERATOR_TYPE</a> = 5,
  68. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1ae0a1108c8b5cd49097fc57e513c58d21">UNORDERED_NODE_SNAPSHOT_TYPE</a> = 6,
  69. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1a754c1eda41b3c5b147089cc549490d8a">ORDERED_NODE_SNAPSHOT_TYPE</a> = 7,
  70. <br />
  71. &#160;&#160;<a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1af86aed2645a86b9c424519d1c12518f9">ANY_UNORDERED_NODE_TYPE</a> = 8,
  72. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1a154547853ad0e89be9ea5b32f7201d6c">FIRST_ORDERED_NODE_TYPE</a> = 9,
  73. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1a29c33fd9a779203a89b85be9ca78444b">FIRST_RESULT_TYPE</a> = 100,
  74. <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1a3dd3d541f3b3b02a5134310168a0f1d1">ITERATOR_RESULT_TYPE</a> = 101,
  75. <br />
  76. &#160;&#160;<a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1af73de8e5229be25c88b5081ebe555c7c">SNAPSHOT_RESULT_TYPE</a> = 102
  77. <br />
  78. }</td></tr>
  79. <tr class="separator:ab718aec450c5438e0cc3a6920044a0c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  80. </table><table class="memberdecls">
  81. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  82. Public Member Functions</h2></td></tr>
  83. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  84. <tr class="memitem:ae6d02311052ec70a50347e101f7f2d56"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#ae6d02311052ec70a50347e101f7f2d56">~DOMXPathResult</a> ()</td></tr>
  85. <tr class="memdesc:ae6d02311052ec70a50347e101f7f2d56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#ae6d02311052ec70a50347e101f7f2d56">More...</a><br /></td></tr>
  86. <tr class="separator:ae6d02311052ec70a50347e101f7f2d56"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
  88. <tr class="memitem:aa7cdad591722dffae7a944e1fc10bbb1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1">ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#aa7cdad591722dffae7a944e1fc10bbb1">getResultType</a> () const =0</td></tr>
  89. <tr class="memdesc:aa7cdad591722dffae7a944e1fc10bbb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the result type of this result. <a href="#aa7cdad591722dffae7a944e1fc10bbb1">More...</a><br /></td></tr>
  90. <tr class="separator:aa7cdad591722dffae7a944e1fc10bbb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a764ffdd6be965061ac216509cf665c90"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classDOMTypeInfo.html">DOMTypeInfo</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#a764ffdd6be965061ac216509cf665c90">getTypeInfo</a> () const =0</td></tr>
  92. <tr class="memdesc:a764ffdd6be965061ac216509cf665c90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the DOM type info of the current result node or value (XPath 2 only). <a href="#a764ffdd6be965061ac216509cf665c90">More...</a><br /></td></tr>
  93. <tr class="separator:a764ffdd6be965061ac216509cf665c90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:ac5179ace7876a255efcff3b3c9db3d98"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#ac5179ace7876a255efcff3b3c9db3d98">isNode</a> () const =0</td></tr>
  95. <tr class="memdesc:ac5179ace7876a255efcff3b3c9db3d98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the result has a current result and the value is a node (XPath 2 only). <a href="#ac5179ace7876a255efcff3b3c9db3d98">More...</a><br /></td></tr>
  96. <tr class="separator:ac5179ace7876a255efcff3b3c9db3d98"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:acab3ba41dfaec6c38e4c0c485bdc204b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#acab3ba41dfaec6c38e4c0c485bdc204b">getBooleanValue</a> () const =0</td></tr>
  98. <tr class="memdesc:acab3ba41dfaec6c38e4c0c485bdc204b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the boolean value of this result. <a href="#acab3ba41dfaec6c38e4c0c485bdc204b">More...</a><br /></td></tr>
  99. <tr class="separator:acab3ba41dfaec6c38e4c0c485bdc204b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:af15463acf8fa32b0b7d5030472176cab"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#af15463acf8fa32b0b7d5030472176cab">getIntegerValue</a> () const =0</td></tr>
  101. <tr class="memdesc:af15463acf8fa32b0b7d5030472176cab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the integer value of this result (XPath 2 only). <a href="#af15463acf8fa32b0b7d5030472176cab">More...</a><br /></td></tr>
  102. <tr class="separator:af15463acf8fa32b0b7d5030472176cab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a15e02a76d2751a344030603238518edf"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#a15e02a76d2751a344030603238518edf">getNumberValue</a> () const =0</td></tr>
  104. <tr class="memdesc:a15e02a76d2751a344030603238518edf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number value of this result. <a href="#a15e02a76d2751a344030603238518edf">More...</a><br /></td></tr>
  105. <tr class="separator:a15e02a76d2751a344030603238518edf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:aa592b89fbd30c4f2b1631488208fbb33"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#aa592b89fbd30c4f2b1631488208fbb33">getStringValue</a> () const =0</td></tr>
  107. <tr class="memdesc:aa592b89fbd30c4f2b1631488208fbb33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the string value of this result. <a href="#aa592b89fbd30c4f2b1631488208fbb33">More...</a><br /></td></tr>
  108. <tr class="separator:aa592b89fbd30c4f2b1631488208fbb33"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:aa59d61f1f1cc677d950f788fac44e6b5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#aa59d61f1f1cc677d950f788fac44e6b5">getNodeValue</a> () const =0</td></tr>
  110. <tr class="memdesc:aa59d61f1f1cc677d950f788fac44e6b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the node value of this result. <a href="#aa59d61f1f1cc677d950f788fac44e6b5">More...</a><br /></td></tr>
  111. <tr class="separator:aa59d61f1f1cc677d950f788fac44e6b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a963997f9fbe6eca5db1be278b72695b7"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#a963997f9fbe6eca5db1be278b72695b7">iterateNext</a> ()=0</td></tr>
  113. <tr class="memdesc:a963997f9fbe6eca5db1be278b72695b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterates and returns true if the current result is the next item from the sequence or false if there are no more items. <a href="#a963997f9fbe6eca5db1be278b72695b7">More...</a><br /></td></tr>
  114. <tr class="separator:a963997f9fbe6eca5db1be278b72695b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a6203550451cb9d2535e08e5f6c17a50a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#a6203550451cb9d2535e08e5f6c17a50a">getInvalidIteratorState</a> () const =0</td></tr>
  116. <tr class="memdesc:a6203550451cb9d2535e08e5f6c17a50a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signifies that the iterator has become invalid. <a href="#a6203550451cb9d2535e08e5f6c17a50a">More...</a><br /></td></tr>
  117. <tr class="separator:a6203550451cb9d2535e08e5f6c17a50a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:aec8aab57f5eaddc7006f2944f39462f3"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#aec8aab57f5eaddc7006f2944f39462f3">snapshotItem</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> index)=0</td></tr>
  119. <tr class="memdesc:aec8aab57f5eaddc7006f2944f39462f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current result to the indexth item in the snapshot collection. <a href="#aec8aab57f5eaddc7006f2944f39462f3">More...</a><br /></td></tr>
  120. <tr class="separator:aec8aab57f5eaddc7006f2944f39462f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a229a90c6e18352c86b58e4889b559ec4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#a229a90c6e18352c86b58e4889b559ec4">getSnapshotLength</a> () const =0</td></tr>
  122. <tr class="memdesc:a229a90c6e18352c86b58e4889b559ec4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of items in the result snapshot. <a href="#a229a90c6e18352c86b58e4889b559ec4">More...</a><br /></td></tr>
  123. <tr class="separator:a229a90c6e18352c86b58e4889b559ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
  125. <tr class="memitem:a42d33fccfa62eb579c2c86a42c0be310"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#a42d33fccfa62eb579c2c86a42c0be310">release</a> ()=0</td></tr>
  126. <tr class="memdesc:a42d33fccfa62eb579c2c86a42c0be310"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to indicate that this <a class="el" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath 1.0 or XPath 2.0 expression within the context of a particular node. ">DOMXPathResult</a> is no longer in use and that the implementation may relinquish any resources associated with it. <a href="#a42d33fccfa62eb579c2c86a42c0be310">More...</a><br /></td></tr>
  127. <tr class="separator:a42d33fccfa62eb579c2c86a42c0be310"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. </table><table class="memberdecls">
  129. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  130. Protected Member Functions</h2></td></tr>
  131. <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
  132. <tr class="memitem:ab6a4f01a6c661f6640c58c5403551ae9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMXPathResult.html#ab6a4f01a6c661f6640c58c5403551ae9">DOMXPathResult</a> ()</td></tr>
  133. <tr class="separator:ab6a4f01a6c661f6640c58c5403551ae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. </table>
  135. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  136. <div class="textblock"><p>The <code><a class="el" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath 1.0 or XPath 2.0 expression within the context of a particular node. ">DOMXPathResult</a></code> interface represents the result of the evaluation of an XPath 1.0 or XPath 2.0 expression within the context of a particular node. </p>
  137. <p>Since evaluation of an XPath expression can result in various result types, this object makes it possible to discover and manipulate the type and value of the result.</p>
  138. <p>Note that some function signatures were changed compared to the DOM Level 3 in order to accommodate XPath 2.0.</p>
  139. <dl class="section since"><dt>Since</dt><dd>DOM Level 3 </dd></dl>
  140. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  141. <a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1"></a>
  142. <div class="memitem">
  143. <div class="memproto">
  144. <table class="memname">
  145. <tr>
  146. <td class="memname">enum <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1">DOMXPathResult::ResultType</a></td>
  147. </tr>
  148. </table>
  149. </div><div class="memdoc">
  150. <p>ANY_TYPE <br />
  151. [XPath 1.0] This code does not represent a specific type. An evaluation of an XPath expression will never produce this type. If this type is requested, then the evaluation returns whatever type naturally results from evaluation of the expression. If the natural result is a node set when ANY_TYPE was requested, then UNORDERED_NODE_ITERATOR_TYPE is always the resulting type. Any other representation of a node set must be explicitly requested. </p>
  152. <p>ANY_UNORDERED_NODE_TYPE <br />
  153. [XPath 1.0] The result is a node set as defined by XPath 1.0 and will be accessed as a single node, which may be null if the node set is empty. Document modification does not invalidate the node, but may mean that the result node no longer corresponds to the current document. This is a convenience that permits optimization since the implementation can stop once any node in the resulting set has been found. If there is more than one node in the actual result, the single node returned might not be the first in document order. </p>
  154. <p>BOOLEAN_TYPE <br />
  155. [XPath 1.0] The result is a boolean as defined by XPath 1.0. Document modification does not invalidate the boolean, but may mean that reevaluation would not yield the same boolean. </p>
  156. <p>FIRST_ORDERED_NODE_TYPE <br />
  157. [XPath 1.0] The result is a node set as defined by XPath 1.0 and will be accessed as a single node, which may be null if the node set is empty. Document modification does not invalidate the node, but may mean that the result node no longer corresponds to the current document. This is a convenience that permits optimization since the implementation can stop once the first node in document order of the resulting set has been found. If there are more than one node in the actual result, the single node returned will be the first in document order. </p>
  158. <p>NUMBER_TYPE <br />
  159. [XPath 1.0] The result is a number as defined by XPath 1.0. Document modification does not invalidate the number, but may mean that reevaluation would not yield the same number. </p>
  160. <p>ORDERED_NODE_ITERATOR_TYPE <br />
  161. [XPath 1.0] The result is a node set as defined by XPath 1.0 that will be accessed iteratively, which will produce document-ordered nodes. Document modification invalidates the iteration. </p>
  162. <p>ORDERED_NODE_SNAPSHOT_TYPE <br />
  163. [XPath 1.0] The result is a node set as defined by XPath 1.0 that will be accessed as a snapshot list of nodes that will be in original document order. Document modification does not invalidate the snapshot but may mean that reevaluation would not yield the same snapshot and nodes in the snapshot may have been altered, moved, or removed from the document. </p>
  164. <p>STRING_TYPE <br />
  165. [XPath 1.0] The result is a string as defined by XPath 1.0. Document modification does not invalidate the string, but may mean that the string no longer corresponds to the current document. </p>
  166. <p>UNORDERED_NODE_ITERATOR_TYPE <br />
  167. [XPath 1.0] The result is a node set as defined by XPath 1.0 that will be accessed iteratively, which may not produce nodes in a particular order. Document modification invalidates the iteration. This is the default type returned if the result is a node set and ANY_TYPE is requested. </p>
  168. <p>UNORDERED_NODE_SNAPSHOT_TYPE <br />
  169. [XPath 1.0] The result is a node set as defined by XPath 1.0 that will be accessed as a snapshot list of nodes that may not be in a particular order. Document modification does not invalidate the snapshot but may mean that reevaluation would not yield the same snapshot and nodes in the snapshot may have been altered, moved, or removed from the document. </p>
  170. <p>FIRST_RESULT_TYPE <br />
  171. [XPath 2.0] The result is a sequence as defined by XPath 2.0 and will be accessed as a single current value or there will be no current value if the sequence is empty. Document modification does not invalidate the value, but may mean that the result no longer corresponds to the current document. This is a convenience that permits optimization since the implementation can stop once the first item in the resulting sequence has been found. If there is more than one item in the actual result, the single item returned might not be the first in document order. </p>
  172. <p>ITERATOR_RESULT_TYPE <br />
  173. [XPath 2.0] The result is a sequence as defined by XPath 2.0 that will be accessed iteratively. Document modification invalidates the iteration. </p>
  174. <p>SNAPSHOT_RESULT_TYPE <br />
  175. [XPath 2.0] The result is a sequence as defined by XPath 2.0 that will be accessed as a snapshot list of values. Document modification does not invalidate the snapshot but may mean that reevaluation would not yield the same snapshot and any items in the snapshot may have been altered, moved, or removed from the document. </p>
  176. <table class="fieldtable">
  177. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1ab6800b7cef4e81a65ca48732dd8fd05b"></a>ANY_TYPE&#160;</td><td class="fielddoc">
  178. </td></tr>
  179. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1aea34a8448e783d65ddd9519195cb072d"></a>NUMBER_TYPE&#160;</td><td class="fielddoc">
  180. </td></tr>
  181. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1a46318bb5e72271bc9bf5c08b9012fa31"></a>STRING_TYPE&#160;</td><td class="fielddoc">
  182. </td></tr>
  183. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1ab783d233cc89a2850f4e13ca637d4994"></a>BOOLEAN_TYPE&#160;</td><td class="fielddoc">
  184. </td></tr>
  185. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1a6461a931354777353b499091cfc14d27"></a>UNORDERED_NODE_ITERATOR_TYPE&#160;</td><td class="fielddoc">
  186. </td></tr>
  187. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1a8e8ed330af65222a55d3ad156a7d11df"></a>ORDERED_NODE_ITERATOR_TYPE&#160;</td><td class="fielddoc">
  188. </td></tr>
  189. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1ae0a1108c8b5cd49097fc57e513c58d21"></a>UNORDERED_NODE_SNAPSHOT_TYPE&#160;</td><td class="fielddoc">
  190. </td></tr>
  191. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1a754c1eda41b3c5b147089cc549490d8a"></a>ORDERED_NODE_SNAPSHOT_TYPE&#160;</td><td class="fielddoc">
  192. </td></tr>
  193. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1af86aed2645a86b9c424519d1c12518f9"></a>ANY_UNORDERED_NODE_TYPE&#160;</td><td class="fielddoc">
  194. </td></tr>
  195. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1a154547853ad0e89be9ea5b32f7201d6c"></a>FIRST_ORDERED_NODE_TYPE&#160;</td><td class="fielddoc">
  196. </td></tr>
  197. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1a29c33fd9a779203a89b85be9ca78444b"></a>FIRST_RESULT_TYPE&#160;</td><td class="fielddoc">
  198. </td></tr>
  199. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1a3dd3d541f3b3b02a5134310168a0f1d1"></a>ITERATOR_RESULT_TYPE&#160;</td><td class="fielddoc">
  200. </td></tr>
  201. <tr><td class="fieldname"><a class="anchor" id="ab718aec450c5438e0cc3a6920044a0c1af73de8e5229be25c88b5081ebe555c7c"></a>SNAPSHOT_RESULT_TYPE&#160;</td><td class="fielddoc">
  202. </td></tr>
  203. </table>
  204. </div>
  205. </div>
  206. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  207. <a class="anchor" id="ab6a4f01a6c661f6640c58c5403551ae9"></a>
  208. <div class="memitem">
  209. <div class="memproto">
  210. <table class="mlabels">
  211. <tr>
  212. <td class="mlabels-left">
  213. <table class="memname">
  214. <tr>
  215. <td class="memname">DOMXPathResult::DOMXPathResult </td>
  216. <td>(</td>
  217. <td class="paramname"></td><td>)</td>
  218. <td></td>
  219. </tr>
  220. </table>
  221. </td>
  222. <td class="mlabels-right">
  223. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  224. </tr>
  225. </table>
  226. </div><div class="memdoc">
  227. </div>
  228. </div>
  229. <a class="anchor" id="ae6d02311052ec70a50347e101f7f2d56"></a>
  230. <div class="memitem">
  231. <div class="memproto">
  232. <table class="mlabels">
  233. <tr>
  234. <td class="mlabels-left">
  235. <table class="memname">
  236. <tr>
  237. <td class="memname">virtual DOMXPathResult::~DOMXPathResult </td>
  238. <td>(</td>
  239. <td class="paramname"></td><td>)</td>
  240. <td></td>
  241. </tr>
  242. </table>
  243. </td>
  244. <td class="mlabels-right">
  245. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  246. </tr>
  247. </table>
  248. </div><div class="memdoc">
  249. <p>Destructor. </p>
  250. </div>
  251. </div>
  252. <h2 class="groupheader">Member Function Documentation</h2>
  253. <a class="anchor" id="acab3ba41dfaec6c38e4c0c485bdc204b"></a>
  254. <div class="memitem">
  255. <div class="memproto">
  256. <table class="mlabels">
  257. <tr>
  258. <td class="mlabels-left">
  259. <table class="memname">
  260. <tr>
  261. <td class="memname">virtual bool DOMXPathResult::getBooleanValue </td>
  262. <td>(</td>
  263. <td class="paramname"></td><td>)</td>
  264. <td> const</td>
  265. </tr>
  266. </table>
  267. </td>
  268. <td class="mlabels-right">
  269. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  270. </tr>
  271. </table>
  272. </div><div class="memdoc">
  273. <p>Returns the boolean value of this result. </p>
  274. <dl class="section return"><dt>Returns</dt><dd>booleanValue of type boolean The value of this boolean result. </dd></dl>
  275. <dl class="exception"><dt>Exceptions</dt><dd>
  276. <table class="exception">
  277. <tr><td class="paramname"><a class="el" href="classDOMXPathException.html">DOMXPathException</a></td><td>TYPE_ERR: raised if ResultType is not BOOLEAN_TYPE (XPath 1.0) or if current result cannot be properly converted to boolean (XPath 2.0). <br />
  278. NO_RESULT_ERROR: raised if there is no current result in the result object (XPath 2.0). </td></tr>
  279. </table>
  280. </dd>
  281. </dl>
  282. </div>
  283. </div>
  284. <a class="anchor" id="af15463acf8fa32b0b7d5030472176cab"></a>
  285. <div class="memitem">
  286. <div class="memproto">
  287. <table class="mlabels">
  288. <tr>
  289. <td class="mlabels-left">
  290. <table class="memname">
  291. <tr>
  292. <td class="memname">virtual int DOMXPathResult::getIntegerValue </td>
  293. <td>(</td>
  294. <td class="paramname"></td><td>)</td>
  295. <td> const</td>
  296. </tr>
  297. </table>
  298. </td>
  299. <td class="mlabels-right">
  300. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  301. </tr>
  302. </table>
  303. </div><div class="memdoc">
  304. <p>Returns the integer value of this result (XPath 2 only). </p>
  305. <dl class="section return"><dt>Returns</dt><dd>integerValue of type int The value of this integer result. </dd></dl>
  306. <dl class="exception"><dt>Exceptions</dt><dd>
  307. <table class="exception">
  308. <tr><td class="paramname"><a class="el" href="classDOMXPathException.html">DOMXPathException</a></td><td>TYPE_ERR: raised if current result cannot be properly converted to int (XPath 2.0). <br />
  309. NO_RESULT_ERROR: raised if there is no current result in the result object (XPath 2.0). </td></tr>
  310. </table>
  311. </dd>
  312. </dl>
  313. </div>
  314. </div>
  315. <a class="anchor" id="a6203550451cb9d2535e08e5f6c17a50a"></a>
  316. <div class="memitem">
  317. <div class="memproto">
  318. <table class="mlabels">
  319. <tr>
  320. <td class="mlabels-left">
  321. <table class="memname">
  322. <tr>
  323. <td class="memname">virtual bool DOMXPathResult::getInvalidIteratorState </td>
  324. <td>(</td>
  325. <td class="paramname"></td><td>)</td>
  326. <td> const</td>
  327. </tr>
  328. </table>
  329. </td>
  330. <td class="mlabels-right">
  331. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  332. </tr>
  333. </table>
  334. </div><div class="memdoc">
  335. <p>Signifies that the iterator has become invalid. </p>
  336. <dl class="section return"><dt>Returns</dt><dd>invalidIteratorState True if ResultType is UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE (XPath 1.0) or ITERATOR_RESULT_TYPE (XPath 2.0) and the document has been modified since this result was returned. </dd></dl>
  337. <dl class="exception"><dt>Exceptions</dt><dd>
  338. <table class="exception">
  339. <tr><td class="paramname">XPathException</td><td>TYPE_ERR: raised if ResultType is not UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE (XPath 1.0) or if ResultType is not ITERATOR_RESULT_TYPE (XPath 2.0). </td></tr>
  340. </table>
  341. </dd>
  342. </dl>
  343. </div>
  344. </div>
  345. <a class="anchor" id="aa59d61f1f1cc677d950f788fac44e6b5"></a>
  346. <div class="memitem">
  347. <div class="memproto">
  348. <table class="mlabels">
  349. <tr>
  350. <td class="mlabels-left">
  351. <table class="memname">
  352. <tr>
  353. <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMXPathResult::getNodeValue </td>
  354. <td>(</td>
  355. <td class="paramname"></td><td>)</td>
  356. <td> const</td>
  357. </tr>
  358. </table>
  359. </td>
  360. <td class="mlabels-right">
  361. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  362. </tr>
  363. </table>
  364. </div><div class="memdoc">
  365. <p>Returns the node value of this result. </p>
  366. <dl class="section return"><dt>Returns</dt><dd>nodeValue The value of this node result, which may be null. </dd></dl>
  367. <dl class="exception"><dt>Exceptions</dt><dd>
  368. <table class="exception">
  369. <tr><td class="paramname"><a class="el" href="classDOMXPathException.html">DOMXPathException</a></td><td>TYPE_ERR: raised if ResultType is not ANY_UNORDERED_NODE_TYPE, FIRST_ORDERED_NODE_TYPE, UNORDERED_NODE_ITERATOR_TYPE, ORDERED_NODE_ITERATOR_TYPE, UNORDERED_NODE_SNAPSHOT_TYPE, or ORDERED_NODE_SNAPSHOT_TYPE (XPath 1.0) or if current result is not a node (XPath 2.0). <br />
  370. NO_RESULT_ERROR: raised if there is no current result in the result object. </td></tr>
  371. </table>
  372. </dd>
  373. </dl>
  374. </div>
  375. </div>
  376. <a class="anchor" id="a15e02a76d2751a344030603238518edf"></a>
  377. <div class="memitem">
  378. <div class="memproto">
  379. <table class="mlabels">
  380. <tr>
  381. <td class="mlabels-left">
  382. <table class="memname">
  383. <tr>
  384. <td class="memname">virtual double DOMXPathResult::getNumberValue </td>
  385. <td>(</td>
  386. <td class="paramname"></td><td>)</td>
  387. <td> const</td>
  388. </tr>
  389. </table>
  390. </td>
  391. <td class="mlabels-right">
  392. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  393. </tr>
  394. </table>
  395. </div><div class="memdoc">
  396. <p>Returns the number value of this result. </p>
  397. <dl class="section return"><dt>Returns</dt><dd>numberValue The value of this number result. If the native double type of the DOM binding does not directly support the exact IEEE 754 result of the XPath expression, then it is up to the definition of the binding to specify how the XPath number is converted to the native binding number. </dd></dl>
  398. <dl class="exception"><dt>Exceptions</dt><dd>
  399. <table class="exception">
  400. <tr><td class="paramname"><a class="el" href="classDOMXPathException.html">DOMXPathException</a></td><td>TYPE_ERR: raised if ResultType is not NUMBER_TYPE (XPath 1.0) or if current result cannot be properly converted to double (XPath 2.0). <br />
  401. NO_RESULT_ERROR: raised if there is no current result in the result object (XPath 2.0). </td></tr>
  402. </table>
  403. </dd>
  404. </dl>
  405. </div>
  406. </div>
  407. <a class="anchor" id="aa7cdad591722dffae7a944e1fc10bbb1"></a>
  408. <div class="memitem">
  409. <div class="memproto">
  410. <table class="mlabels">
  411. <tr>
  412. <td class="mlabels-left">
  413. <table class="memname">
  414. <tr>
  415. <td class="memname">virtual <a class="el" href="classDOMXPathResult.html#ab718aec450c5438e0cc3a6920044a0c1">ResultType</a> DOMXPathResult::getResultType </td>
  416. <td>(</td>
  417. <td class="paramname"></td><td>)</td>
  418. <td> const</td>
  419. </tr>
  420. </table>
  421. </td>
  422. <td class="mlabels-right">
  423. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  424. </tr>
  425. </table>
  426. </div><div class="memdoc">
  427. <p>Returns the result type of this result. </p>
  428. <dl class="section return"><dt>Returns</dt><dd>ResultType A code representing the type of this result, as defined by the type constants. </dd></dl>
  429. </div>
  430. </div>
  431. <a class="anchor" id="a229a90c6e18352c86b58e4889b559ec4"></a>
  432. <div class="memitem">
  433. <div class="memproto">
  434. <table class="mlabels">
  435. <tr>
  436. <td class="mlabels-left">
  437. <table class="memname">
  438. <tr>
  439. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> DOMXPathResult::getSnapshotLength </td>
  440. <td>(</td>
  441. <td class="paramname"></td><td>)</td>
  442. <td> const</td>
  443. </tr>
  444. </table>
  445. </td>
  446. <td class="mlabels-right">
  447. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  448. </tr>
  449. </table>
  450. </div><div class="memdoc">
  451. <p>The number of items in the result snapshot. </p>
  452. <p>Valid values for snapshotItem indices are 0 to snapshotLength-1 inclusive. </p><dl class="section return"><dt>Returns</dt><dd>snapshotLength of type XMLSize_t </dd></dl>
  453. <dl class="exception"><dt>Exceptions</dt><dd>
  454. <table class="exception">
  455. <tr><td class="paramname">XPathException</td><td>TYPE_ERR: raised if ResultType is not UNORDERED_NODE_SNAPSHOT_TYPE or ORDERED_NODE_SNAPSHOT_TYPE (XPath 1.0) or if ResultType is not SNAPSHOT_RESULT_TYPE (XPath 2.0). </td></tr>
  456. </table>
  457. </dd>
  458. </dl>
  459. </div>
  460. </div>
  461. <a class="anchor" id="aa592b89fbd30c4f2b1631488208fbb33"></a>
  462. <div class="memitem">
  463. <div class="memproto">
  464. <table class="mlabels">
  465. <tr>
  466. <td class="mlabels-left">
  467. <table class="memname">
  468. <tr>
  469. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMXPathResult::getStringValue </td>
  470. <td>(</td>
  471. <td class="paramname"></td><td>)</td>
  472. <td> const</td>
  473. </tr>
  474. </table>
  475. </td>
  476. <td class="mlabels-right">
  477. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  478. </tr>
  479. </table>
  480. </div><div class="memdoc">
  481. <p>Returns the string value of this result. </p>
  482. <dl class="section return"><dt>Returns</dt><dd>stringValue The value of this string result. </dd></dl>
  483. <dl class="exception"><dt>Exceptions</dt><dd>
  484. <table class="exception">
  485. <tr><td class="paramname"><a class="el" href="classDOMXPathException.html">DOMXPathException</a></td><td>TYPE_ERR: raised if ResultType is not STRING_TYPE (XPath 1.0) or if current result cannot be properly converted to string (XPath 2.0). <br />
  486. NO_RESULT_ERROR: raised if there is no current result in the result object (XPath 2.0). </td></tr>
  487. </table>
  488. </dd>
  489. </dl>
  490. </div>
  491. </div>
  492. <a class="anchor" id="a764ffdd6be965061ac216509cf665c90"></a>
  493. <div class="memitem">
  494. <div class="memproto">
  495. <table class="mlabels">
  496. <tr>
  497. <td class="mlabels-left">
  498. <table class="memname">
  499. <tr>
  500. <td class="memname">virtual const <a class="el" href="classDOMTypeInfo.html">DOMTypeInfo</a>* DOMXPathResult::getTypeInfo </td>
  501. <td>(</td>
  502. <td class="paramname"></td><td>)</td>
  503. <td> const</td>
  504. </tr>
  505. </table>
  506. </td>
  507. <td class="mlabels-right">
  508. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  509. </tr>
  510. </table>
  511. </div><div class="memdoc">
  512. <p>Returns the DOM type info of the current result node or value (XPath 2 only). </p>
  513. <dl class="section return"><dt>Returns</dt><dd>typeInfo of type TypeInfo, readonly </dd></dl>
  514. </div>
  515. </div>
  516. <a class="anchor" id="ac5179ace7876a255efcff3b3c9db3d98"></a>
  517. <div class="memitem">
  518. <div class="memproto">
  519. <table class="mlabels">
  520. <tr>
  521. <td class="mlabels-left">
  522. <table class="memname">
  523. <tr>
  524. <td class="memname">virtual bool DOMXPathResult::isNode </td>
  525. <td>(</td>
  526. <td class="paramname"></td><td>)</td>
  527. <td> const</td>
  528. </tr>
  529. </table>
  530. </td>
  531. <td class="mlabels-right">
  532. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  533. </tr>
  534. </table>
  535. </div><div class="memdoc">
  536. <p>Returns true if the result has a current result and the value is a node (XPath 2 only). </p>
  537. <p>This function is necessary to distinguish between a string value and a node of type string as returned by the <a class="el" href="classDOMXPathResult.html#a764ffdd6be965061ac216509cf665c90" title="Returns the DOM type info of the current result node or value (XPath 2 only). ">getTypeInfo()</a> function. </p><dl class="section return"><dt>Returns</dt><dd>isNode of type boolean, readonly </dd></dl>
  538. </div>
  539. </div>
  540. <a class="anchor" id="a963997f9fbe6eca5db1be278b72695b7"></a>
  541. <div class="memitem">
  542. <div class="memproto">
  543. <table class="mlabels">
  544. <tr>
  545. <td class="mlabels-left">
  546. <table class="memname">
  547. <tr>
  548. <td class="memname">virtual bool DOMXPathResult::iterateNext </td>
  549. <td>(</td>
  550. <td class="paramname"></td><td>)</td>
  551. <td></td>
  552. </tr>
  553. </table>
  554. </td>
  555. <td class="mlabels-right">
  556. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  557. </tr>
  558. </table>
  559. </div><div class="memdoc">
  560. <p>Iterates and returns true if the current result is the next item from the sequence or false if there are no more items. </p>
  561. <dl class="section return"><dt>Returns</dt><dd>boolean True if the current result is the next item from the sequence or false if there are no more items. </dd></dl>
  562. <dl class="exception"><dt>Exceptions</dt><dd>
  563. <table class="exception">
  564. <tr><td class="paramname">XPathException</td><td>TYPE_ERR: raised if ResultType is not UNORDERED_NODE_ITERATOR_TYPE or ORDERED_NODE_ITERATOR_TYPE (XPath 1.0) or if ResultType is not ITERATOR_RESULT_TYPE (XPath 2.0). </td></tr>
  565. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: The document has been mutated since the result was returned. </td></tr>
  566. </table>
  567. </dd>
  568. </dl>
  569. </div>
  570. </div>
  571. <a class="anchor" id="a42d33fccfa62eb579c2c86a42c0be310"></a>
  572. <div class="memitem">
  573. <div class="memproto">
  574. <table class="mlabels">
  575. <tr>
  576. <td class="mlabels-left">
  577. <table class="memname">
  578. <tr>
  579. <td class="memname">virtual void DOMXPathResult::release </td>
  580. <td>(</td>
  581. <td class="paramname"></td><td>)</td>
  582. <td></td>
  583. </tr>
  584. </table>
  585. </td>
  586. <td class="mlabels-right">
  587. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  588. </tr>
  589. </table>
  590. </div><div class="memdoc">
  591. <p>Called to indicate that this <a class="el" href="classDOMXPathResult.html" title="The DOMXPathResult interface represents the result of the evaluation of an XPath 1.0 or XPath 2.0 expression within the context of a particular node. ">DOMXPathResult</a> is no longer in use and that the implementation may relinquish any resources associated with it. </p>
  592. <p>Access to a released object will lead to unexpected result. </p>
  593. </div>
  594. </div>
  595. <a class="anchor" id="aec8aab57f5eaddc7006f2944f39462f3"></a>
  596. <div class="memitem">
  597. <div class="memproto">
  598. <table class="mlabels">
  599. <tr>
  600. <td class="mlabels-left">
  601. <table class="memname">
  602. <tr>
  603. <td class="memname">virtual bool DOMXPathResult::snapshotItem </td>
  604. <td>(</td>
  605. <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
  606. <td class="paramname"><em>index</em></td><td>)</td>
  607. <td></td>
  608. </tr>
  609. </table>
  610. </td>
  611. <td class="mlabels-right">
  612. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  613. </tr>
  614. </table>
  615. </div><div class="memdoc">
  616. <p>Sets the current result to the indexth item in the snapshot collection. </p>
  617. <p>If index is greater than or equal to the number of items in the list, this method returns false. Unlike the iterator result, the snapshot does not become invalid, but may not correspond to the current document if it is mutated. </p><dl class="params"><dt>Parameters</dt><dd>
  618. <table class="params">
  619. <tr><td class="paramname">index</td><td>of type XMLSize_t - Index into the snapshot collection. </td></tr>
  620. </table>
  621. </dd>
  622. </dl>
  623. <dl class="section return"><dt>Returns</dt><dd>boolean True if the current result is the next item from the sequence or false if there are no more items. </dd></dl>
  624. <dl class="exception"><dt>Exceptions</dt><dd>
  625. <table class="exception">
  626. <tr><td class="paramname">XPathException</td><td>TYPE_ERR: raised if ResultType is not UNORDERED_NODE_SNAPSHOT_TYPE or ORDERED_NODE_SNAPSHOT_TYPE (XPath 1.0) or if ResultType is not SNAPSHOT_RESULT_TYPE (XPath 2.0). </td></tr>
  627. </table>
  628. </dd>
  629. </dl>
  630. </div>
  631. </div>
  632. <hr/>The documentation for this class was generated from the following file:<ul>
  633. <li><a class="el" href="DOMXPathResult_8hpp_source.html">DOMXPathResult.hpp</a></li>
  634. </ul>
  635. </div><!-- contents -->
  636. <!-- start footer part -->
  637. <hr class="footer"/><address class="footer"><small>
  638. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  639. <img class="footer" src="doxygen.png" alt="doxygen"/>
  640. </a> 1.8.9.1
  641. </small></address>
  642. </body>
  643. </html>