140 lines
13 KiB
HTML
140 lines
13 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 Simple API: StaticResolutionContext.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 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 List</span></a></li>
|
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
|
</ul></div>
|
|
<h1>StaticResolutionContext.hpp</h1><a href="StaticResolutionContext_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: StaticResolutionContext.hpp,v 1.15 2006/11/01 16:37:11 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 _STATICRESOLUTIONCONTEXT_HPP</span>
|
|
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define _STATICRESOLUTIONCONTEXT_HPP</span>
|
|
<a name="l00016"></a>00016 <span class="preprocessor"></span>
|
|
<a name="l00017"></a>00017 <span class="preprocessor">#include <string></span>
|
|
<a name="l00018"></a>00018
|
|
<a name="l00019"></a>00019 <span class="preprocessor">#include <xqilla/framework/XQillaExport.hpp></span>
|
|
<a name="l00020"></a>00020 <span class="preprocessor">#include <xqilla/ast/StaticType.hpp></span>
|
|
<a name="l00021"></a>00021
|
|
<a name="l00022"></a>00022 <span class="preprocessor">#include <xercesc/util/RefHash2KeysTableOf.hpp></span>
|
|
<a name="l00023"></a>00023 <span class="preprocessor">#include <xercesc/util/StringPool.hpp></span>
|
|
<a name="l00024"></a>00024
|
|
<a name="l00025"></a>00025 <span class="preprocessor">#include <vector></span>
|
|
<a name="l00026"></a>00026
|
|
<a name="l00027"></a><a class="code" href="StaticResolutionContext_8hpp.html#ca65081bb398a9fa4ce1c47936478150">00027</a> <span class="keyword">class </span><a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a>;
|
|
<a name="l00028"></a>00028
|
|
<a name="l00029"></a>00029 <span class="keyword">typedef</span> XERCES_CPP_NAMESPACE_QUALIFIER RefHash2KeysTableOf<int> <a class="code" href="StaticResolutionContext_8hpp.html#ca65081bb398a9fa4ce1c47936478150">VariableAccessSet</a>;
|
|
<a name="l00030"></a><a class="code" href="StaticResolutionContext_8hpp.html#28855e382ffedc3efae70cc776261a7e">00030</a> <span class="keyword">typedef</span> XERCES_CPP_NAMESPACE_QUALIFIER RefHash2KeysTableOfEnumerator<int> <a class="code" href="StaticResolutionContext_8hpp.html#28855e382ffedc3efae70cc776261a7e">VariableAccessSetEnumerator</a>;
|
|
<a name="l00031"></a>00031
|
|
<a name="l00035"></a><a class="code" href="classStaticResolutionContext.html">00035</a> <span class="keyword">class </span>XQILLA_API <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a>
|
|
<a name="l00036"></a>00036 {
|
|
<a name="l00037"></a>00037 <span class="keyword">public</span>:
|
|
<a name="l00038"></a>00038 <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a>(<a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a>* memMgr);
|
|
<a name="l00039"></a>00039 <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a>(<span class="keyword">const</span> <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a> &o, <a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a>* memMgr);
|
|
<a name="l00040"></a>00040
|
|
<a name="l00041"></a>00041 <span class="keywordtype">void</span> copy(<span class="keyword">const</span> <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a> &o);
|
|
<a name="l00042"></a>00042
|
|
<a name="l00044"></a>00044 <span class="keywordtype">void</span> clear();
|
|
<a name="l00045"></a>00045
|
|
<a name="l00048"></a>00048 <span class="keywordtype">void</span> forceNoFolding(<span class="keywordtype">bool</span> value);
|
|
<a name="l00049"></a>00049 <span class="keywordtype">bool</span> isNoFoldingForced() <span class="keyword">const</span>;
|
|
<a name="l00050"></a>00050
|
|
<a name="l00051"></a>00051 <span class="keywordtype">void</span> contextItemUsed(<span class="keywordtype">bool</span> value);
|
|
<a name="l00052"></a>00052 <span class="keywordtype">void</span> contextPositionUsed(<span class="keywordtype">bool</span> value);
|
|
<a name="l00053"></a>00053 <span class="keywordtype">void</span> contextSizeUsed(<span class="keywordtype">bool</span> value);
|
|
<a name="l00054"></a>00054 <span class="keywordtype">bool</span> isContextItemUsed() <span class="keyword">const</span>;
|
|
<a name="l00055"></a>00055 <span class="keywordtype">bool</span> isContextPositionUsed() <span class="keyword">const</span>;
|
|
<a name="l00056"></a>00056 <span class="keywordtype">bool</span> isContextSizeUsed() <span class="keyword">const</span>;
|
|
<a name="l00058"></a>00058 <span class="keywordtype">bool</span> areContextFlagsUsed() <span class="keyword">const</span>;
|
|
<a name="l00059"></a>00059
|
|
<a name="l00060"></a>00060 <span class="keywordtype">void</span> currentTimeUsed(<span class="keywordtype">bool</span> value);
|
|
<a name="l00061"></a>00061 <span class="keywordtype">void</span> implicitTimezoneUsed(<span class="keywordtype">bool</span> value);
|
|
<a name="l00062"></a>00062 <span class="keywordtype">bool</span> areContextTimeUsed() <span class="keyword">const</span>;
|
|
<a name="l00063"></a>00063 <span class="keywordtype">void</span> availableDocumentsUsed(<span class="keywordtype">bool</span> value);
|
|
<a name="l00064"></a>00064 <span class="keywordtype">void</span> availableCollectionsUsed(<span class="keywordtype">bool</span> value);
|
|
<a name="l00065"></a>00065 <span class="keywordtype">bool</span> areDocsOrCollectionsUsed() <span class="keyword">const</span>;
|
|
<a name="l00066"></a>00066
|
|
<a name="l00067"></a>00067 <span class="keywordtype">void</span> variableUsed(<span class="keyword">const</span> XMLCh *namespaceURI, <span class="keyword">const</span> XMLCh *name);
|
|
<a name="l00068"></a>00068 <span class="keywordtype">bool</span> removeVariable(<span class="keyword">const</span> XMLCh *namespaceURI, <span class="keyword">const</span> XMLCh *name);
|
|
<a name="l00069"></a>00069 <span class="keywordtype">bool</span> isVariableUsed(<span class="keyword">const</span> XMLCh *namespaceURI, <span class="keyword">const</span> XMLCh *name) <span class="keyword">const</span>;
|
|
<a name="l00070"></a>00070 std::vector<std::pair<const XMLCh*, const XMLCh*> > variablesUsed() <span class="keyword">const</span>;
|
|
<a name="l00071"></a>00071
|
|
<a name="l00073"></a>00073 <span class="keywordtype">void</span> add(<span class="keyword">const</span> <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a> &o);
|
|
<a name="l00074"></a>00074 <span class="keywordtype">void</span> addExceptContextFlags(<span class="keyword">const</span> <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a> &o);
|
|
<a name="l00075"></a>00075
|
|
<a name="l00077"></a>00077 <span class="keywordtype">bool</span> isUsed() <span class="keyword">const</span>;
|
|
<a name="l00078"></a>00078 <span class="keywordtype">bool</span> isUsedExceptContextFlags() <span class="keyword">const</span>;
|
|
<a name="l00079"></a>00079
|
|
<a name="l00080"></a>00080 <span class="keywordtype">void</span> creative(<span class="keywordtype">bool</span> value);
|
|
<a name="l00081"></a>00081 <span class="keywordtype">bool</span> isCreative() <span class="keyword">const</span>;
|
|
<a name="l00082"></a>00082
|
|
<a name="l00087"></a><a class="code" href="classStaticResolutionContext.html#87964bd0c00c1146277b7652fd06e6cc">00087</a> <span class="keyword">enum</span> <a class="code" href="classStaticResolutionContext.html#87964bd0c00c1146277b7652fd06e6cc">Properties</a> {
|
|
<a name="l00088"></a>00088 DOCORDER = 0x001,
|
|
<a name="l00089"></a>00089 PEER = 0x002,
|
|
<a name="l00090"></a>00090 SUBTREE = 0x004,
|
|
<a name="l00091"></a>00091 GROUPED = 0x008,
|
|
<a name="l00092"></a>00092 SAMEDOC = 0x010,
|
|
<a name="l00093"></a>00093 ONENODE = 0x020,
|
|
<a name="l00094"></a>00094 SELF = 0x040,
|
|
<a name="l00095"></a>00095 FORWARDREF = 0x080,
|
|
<a name="l00096"></a><a class="code" href="classStaticResolutionContext.html#87964bd0c00c1146277b7652fd06e6cc5b22c5f75855deefd015423d4e7a1130">00096</a> UNDEFINEDVAR = 0x100
|
|
<a name="l00097"></a>00097 };
|
|
<a name="l00098"></a>00098
|
|
<a name="l00099"></a>00099 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> getProperties() <span class="keyword">const</span>;
|
|
<a name="l00100"></a>00100 <span class="keywordtype">void</span> setProperties(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> props);
|
|
<a name="l00101"></a>00101
|
|
<a name="l00102"></a>00102 <span class="keyword">const</span> StaticType &getStaticType() <span class="keyword">const</span>;
|
|
<a name="l00103"></a>00103 StaticType &getStaticType();
|
|
<a name="l00104"></a>00104
|
|
<a name="l00105"></a>00105 std::string toString() <span class="keyword">const</span>;
|
|
<a name="l00106"></a>00106
|
|
<a name="l00107"></a>00107 <span class="keyword">private</span>:
|
|
<a name="l00108"></a>00108 <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a>(<span class="keyword">const</span> <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a> &o);
|
|
<a name="l00109"></a>00109 <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a> &operator=(<span class="keyword">const</span> <a class="code" href="classStaticResolutionContext.html">StaticResolutionContext</a> &o);
|
|
<a name="l00110"></a>00110
|
|
<a name="l00111"></a>00111 <span class="keywordtype">bool</span> _contextItem;
|
|
<a name="l00112"></a>00112 <span class="keywordtype">bool</span> _contextPosition;
|
|
<a name="l00113"></a>00113 <span class="keywordtype">bool</span> _contextSize;
|
|
<a name="l00114"></a>00114 <span class="keywordtype">bool</span> _currentTime;
|
|
<a name="l00115"></a>00115 <span class="keywordtype">bool</span> _implicitTimezone;
|
|
<a name="l00116"></a>00116 <span class="keywordtype">bool</span> _availableDocuments;
|
|
<a name="l00117"></a>00117 <span class="keywordtype">bool</span> _availableCollections;
|
|
<a name="l00118"></a>00118 <span class="keywordtype">bool</span> _forceNoFolding;
|
|
<a name="l00119"></a>00119 <span class="keywordtype">bool</span> _creative;
|
|
<a name="l00120"></a>00120
|
|
<a name="l00121"></a>00121 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _properties;
|
|
<a name="l00122"></a>00122 StaticType _staticType;
|
|
<a name="l00123"></a>00123
|
|
<a name="l00124"></a>00124 <a class="code" href="StaticResolutionContext_8hpp.html#ca65081bb398a9fa4ce1c47936478150">VariableAccessSet</a> _dynamicVariables;
|
|
<a name="l00125"></a>00125 XERCES_CPP_NAMESPACE_QUALIFIER XMLStringPool _uriPool;
|
|
<a name="l00126"></a>00126 <a class="code" href="classXPath2MemoryManager.html">XPath2MemoryManager</a>* _memMgr;
|
|
<a name="l00127"></a>00127 };
|
|
<a name="l00128"></a>00128
|
|
<a name="l00129"></a>00129 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:18:56 2006 for XQilla Simple API by
|
|
<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>
|