XQuilla/docs/simple-api/XQilla_8hpp-source.html

116 lines
9.8 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!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 Simple API: XQilla.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>XQilla.hpp</h1><a href="XQilla_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: XQilla.hpp,v 1.8.2.1 2006/12/08 15:19: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 _XQILLA_07637_HPP</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _XQILLA_07637_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="MemoryManager_8hpp.html">xercesc/framework/MemoryManager.hpp</a>&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;<a class="code" href="PlatformUtils_8hpp.html">xercesc/util/PlatformUtils.hpp</a>&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;<a class="code" href="XMemory_8hpp.html">xercesc/util/XMemory.hpp</a>&gt;</span>
<a name="l00022"></a>00022
<a name="l00023"></a>00023 <span class="keyword">class </span><a class="code" href="classDynamicContext.html">DynamicContext</a>;
<a name="l00024"></a>00024 <span class="keyword">class </span><a class="code" href="classXQQuery.html">XQQuery</a>;
<a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a>;
<a name="l00026"></a>00026
<a name="l00027"></a><a class="code" href="namespacexercesc.html">00027</a> XERCES_CPP_NAMESPACE_BEGIN
<a name="l00028"></a>00028 <span class="keyword">class </span><a class="code" href="classxercesc_1_1InputSource.html">InputSource</a>;
<a name="l00029"></a>00029 <span class="keyword">class </span>XMLBuffer;
<a name="l00030"></a>00030 XERCES_CPP_NAMESPACE_END
<a name="l00031"></a>00031
<a name="l00039"></a><a class="code" href="classXQilla.html">00039</a> <span class="keyword">class </span>XQILLA_API <a class="code" href="classXQilla.html">XQilla</a> : <span class="keyword">public</span> XERCES_CPP_NAMESPACE_QUALIFIER XMemory
<a name="l00040"></a>00040 {
<a name="l00041"></a>00041 <span class="keyword">public</span>:
<a name="l00043"></a><a class="code" href="classXQilla.html#7fbc185e109c8ce3da425054685e8ba1">00043</a> <span class="keyword">enum</span> <a class="code" href="classXQilla.html#7fbc185e109c8ce3da425054685e8ba1">Flags</a> {
<a name="l00044"></a>00044 NO_STATIC_RESOLUTION = 0x1,
<a name="l00045"></a><a class="code" href="classXQilla.html#7fbc185e109c8ce3da425054685e8ba199bed3057d85109e34e9f536c30dc514">00045</a> NO_ADOPT_CONTEXT = 0x2
<a name="l00046"></a>00046 };
<a name="l00047"></a>00047
<a name="l00049"></a><a class="code" href="classXQilla.html#841f488b890ff0e4d20b5000f2e1ce4d">00049</a> <span class="keyword">enum</span> <a class="code" href="classXQilla.html#841f488b890ff0e4d20b5000f2e1ce4d">Language</a> {
<a name="l00050"></a>00050 XQUERY,
<a name="l00051"></a>00051 XPATH2,
<a name="l00052"></a>00052 XQUERY_FULLTEXT,
<a name="l00053"></a><a class="code" href="classXQilla.html#841f488b890ff0e4d20b5000f2e1ce4d83707b5b2a4f6a50e73b9f8f3cc0de25">00053</a> XPATH2_FULLTEXT
<a name="l00054"></a>00054 };
<a name="l00055"></a>00055
<a name="l00062"></a>00062 <a class="code" href="classXQilla.html">XQilla</a>(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr = 0);
<a name="l00063"></a>00063
<a name="l00068"></a>00068 ~<a class="code" href="classXQilla.html">XQilla</a>();
<a name="l00069"></a>00069
<a name="l00071"></a>00071 <span class="comment">// @{</span>
<a name="l00072"></a>00072
<a name="l00090"></a>00090 <span class="keyword">static</span> <a class="code" href="classXQQuery.html">XQQuery</a>* parse(<span class="keyword">const</span> XMLCh* query,
<a name="l00091"></a>00091 Language language = XQUERY,
<a name="l00092"></a>00092 <a class="code" href="classDynamicContext.html">DynamicContext</a>* context = 0,
<a name="l00093"></a>00093 <span class="keyword">const</span> XMLCh* queryFile = NULL,
<a name="l00094"></a>00094 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = 0,
<a name="l00095"></a>00095 XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
<a name="l00096"></a>00096 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager);
<a name="l00097"></a>00097
<a name="l00113"></a>00113 <span class="keyword">static</span> <a class="code" href="classXQQuery.html">XQQuery</a>* parse(<span class="keyword">const</span> XERCES_CPP_NAMESPACE_QUALIFIER InputSource&amp; querySrc,
<a name="l00114"></a>00114 Language language = XQUERY,
<a name="l00115"></a>00115 <a class="code" href="classDynamicContext.html">DynamicContext</a>* context = 0,
<a name="l00116"></a>00116 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = 0,
<a name="l00117"></a>00117 XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
<a name="l00118"></a>00118 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager);
<a name="l00119"></a>00119
<a name="l00135"></a>00135 <span class="keyword">static</span> <a class="code" href="classXQQuery.html">XQQuery</a>* parseFromURI(<span class="keyword">const</span> XMLCh* queryFile,
<a name="l00136"></a>00136 Language language = XQUERY,
<a name="l00137"></a>00137 <a class="code" href="classDynamicContext.html">DynamicContext</a>* context = 0,
<a name="l00138"></a>00138 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flags = 0,
<a name="l00139"></a>00139 XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
<a name="l00140"></a>00140 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager);
<a name="l00141"></a>00141
<a name="l00143"></a>00143
<a name="l00145"></a>00145 <span class="comment">// @{</span>
<a name="l00146"></a>00146
<a name="l00152"></a>00152 <span class="keyword">static</span> <a class="code" href="classDynamicContext.html">DynamicContext</a> *createContext(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr =
<a name="l00153"></a>00153 XERCES_CPP_NAMESPACE_QUALIFIER XMLPlatformUtils::fgMemoryManager);
<a name="l00154"></a>00154
<a name="l00156"></a>00156
<a name="l00157"></a>00157 <span class="keyword">private</span>:
<a name="l00158"></a>00158 <span class="keyword">static</span> <span class="keywordtype">bool</span> readQuery(<span class="keyword">const</span> XMLCh* queryFile,
<a name="l00159"></a>00159 XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager* memMgr,
<a name="l00160"></a>00160 XERCES_CPP_NAMESPACE_QUALIFIER XMLBuffer&amp; queryText);
<a name="l00161"></a>00161 <span class="keyword">static</span> <span class="keywordtype">bool</span> readQuery(<span class="keyword">const</span> XERCES_CPP_NAMESPACE_QUALIFIER InputSource&amp; querySrc,
<a name="l00162"></a>00162 XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager* memMgr,
<a name="l00163"></a>00163 XERCES_CPP_NAMESPACE_QUALIFIER XMLBuffer&amp; queryText);
<a name="l00164"></a>00164 };
<a name="l00165"></a>00165
<a name="l00166"></a>00166 <span class="preprocessor">#endif</span>
2020-02-17 21:08:05 +00:00
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 12 16:52:06 2007 for XQilla Simple API by&nbsp;
2020-02-17 21:05:20 +00:00
<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>