XQuilla/docs/dom3-api/XPath2Result_8hpp-source.html
2020-02-17 22:05:20 +01:00

93 lines
7.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla DOM Level 3 API: XPath2Result.hpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="classes.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>XPath2Result.hpp</h1><a href="XPath2Result_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright (c) 2001-2006</span>
<a name="l00003"></a>00003 <span class="comment"> * DecisionSoft Limited. All rights reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (c) 2004-2006</span>
<a name="l00005"></a>00005 <span class="comment"> * Progress Software Corporation. All rights reserved.</span>
<a name="l00006"></a>00006 <span class="comment"> * Copyright (c) 2004-2006</span>
<a name="l00007"></a>00007 <span class="comment"> * Oracle. All rights reserved.</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * See the file LICENSE for redistribution information.</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * $Id: XPath2Result.hpp,v 1.10 2006/11/01 16:37:12 jpcs Exp $</span>
<a name="l00012"></a>00012 <span class="comment"> */</span>
<a name="l00013"></a>00013
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef __XPATH2RESULT_HPP</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define __XPATH2RESULT_HPP</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;xqilla/framework/XQillaExport.hpp&gt;</span>
<a name="l00018"></a>00018
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;<a class="code" href="DOMNode_8hpp.html">xercesc/dom/DOMNode.hpp</a>&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;<a class="code" href="DOMTypeInfo_8hpp.html">xercesc/dom/DOMTypeInfo.hpp</a>&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;<a class="code" href="DOMException_8hpp.html">xercesc/dom/DOMException.hpp</a>&gt;</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;<a class="code" href="DOMXPathException_8hpp.html">xercesc/dom/DOMXPathException.hpp</a>&gt;</span>
<a name="l00023"></a>00023
<a name="l00031"></a><a class="code" href="classXPath2Result.html">00031</a> <span class="keyword">class </span>XQILLA_API <a class="code" href="classXPath2Result.html">XPath2Result</a>
<a name="l00032"></a>00032 {
<a name="l00033"></a>00033 <span class="keyword">public</span>:
<a name="l00039"></a><a class="code" href="classXPath2Result.html#c6209c093de954f12163bc234c9f5306">00039</a> <span class="keyword">virtual</span> ~<a class="code" href="classXPath2Result.html">XPath2Result</a>() {};
<a name="l00041"></a>00041
<a name="l00064"></a><a class="code" href="classXPath2Result.html#18e0dff57e4162f32438836da74eaabd">00064</a> <span class="keyword">enum</span> <a class="code" href="classXPath2Result.html#18e0dff57e4162f32438836da74eaabd">ResultType</a> {
<a name="l00065"></a>00065 FIRST_RESULT = 100,
<a name="l00066"></a>00066 ITERATOR_RESULT = 101,
<a name="l00067"></a>00067 SNAPSHOT_RESULT = 102
<a name="l00068"></a>00068 };
<a name="l00070"></a>00070
<a name="l00073"></a>00073
<a name="l00079"></a>00079 <span class="keyword">virtual</span> ResultType getResultType() <span class="keyword">const </span>= 0;
<a name="l00080"></a>00080
<a name="l00085"></a>00085 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isNode() <span class="keyword">const </span>= 0;
<a name="l00086"></a>00086
<a name="l00091"></a>00091 <span class="keyword">virtual</span> <span class="keyword">const</span> XERCES_CPP_NAMESPACE_QUALIFIER DOMTypeInfo *getTypeInfo() <span class="keyword">const </span>= 0;
<a name="l00092"></a>00092
<a name="l00104"></a>00104 <span class="keyword">virtual</span> <span class="keywordtype">double</span> asDouble() <span class="keyword">const </span>= 0;
<a name="l00105"></a>00105
<a name="l00114"></a>00114 <span class="keyword">virtual</span> <span class="keywordtype">int</span> asInt() <span class="keyword">const </span>= 0;
<a name="l00115"></a>00115
<a name="l00124"></a>00124 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* asString() <span class="keyword">const </span>= 0;
<a name="l00125"></a>00125
<a name="l00134"></a>00134 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> asBoolean() <span class="keyword">const </span>= 0;
<a name="l00135"></a>00135
<a name="l00144"></a>00144 <span class="keyword">virtual</span> <span class="keyword">const</span> XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* asNode() <span class="keyword">const </span>= 0;
<a name="l00145"></a>00145
<a name="l00150"></a>00150 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getInvalidIteratorState() <span class="keyword">const </span>= 0;
<a name="l00151"></a>00151
<a name="l00159"></a>00159 <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> getSnapshotLength() <span class="keyword">const </span>= 0;
<a name="l00160"></a>00160
<a name="l00171"></a>00171 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> iterateNext() = 0;
<a name="l00172"></a>00172
<a name="l00184"></a>00184 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> snapshotItem(<span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> index) = 0;
<a name="l00186"></a>00186
<a name="l00196"></a>00196 <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
<a name="l00198"></a>00198
<a name="l00199"></a>00199 <span class="keyword">protected</span>:
<a name="l00202"></a><a class="code" href="classXPath2Result.html#19e37cebc1d9d50bb02c23eb7de2f3d1">00202</a> <a class="code" href="classXPath2Result.html">XPath2Result</a>() {};
<a name="l00204"></a>00204 <span class="keyword">private</span>:
<a name="l00207"></a>00207 <a class="code" href="classXPath2Result.html">XPath2Result</a>(<span class="keyword">const</span> <a class="code" href="classXPath2Result.html">XPath2Result</a> &amp;);
<a name="l00208"></a>00208 <a class="code" href="classXPath2Result.html">XPath2Result</a> &amp;operator=(<span class="keyword">const</span> <a class="code" href="classXPath2Result.html">XPath2Result</a> &amp;);
<a name="l00210"></a>00210 };
<a name="l00211"></a>00211
<a name="l00212"></a>00212 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:19:01 2006 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>