789 lines
39 KiB
HTML
789 lines
39 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 Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.5.1 -->
|
|
<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 id="current"><a href="classes.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul></div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul></div>
|
|
<h1>DynamicContext Class Reference</h1><!-- doxytag: class="DynamicContext" --><!-- doxytag: inherits="StaticContext" -->The execution time dynamic context interface.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="DynamicContext_8hpp-source.html">DynamicContext.hpp</a>></code>
|
|
<p>
|
|
Inheritance diagram for DynamicContext:<p><center><img src="classDynamicContext__inherit__graph.png" border="0" usemap="#DynamicContext__inherit__map" alt="Inheritance graph"></center>
|
|
<map name="DynamicContext__inherit__map">
|
|
<area href="classStaticContext.html" shape="rect" coords="23,82,135,106" alt="">
|
|
<area href="classxercesc_1_1XMemory.html" shape="rect" coords="5,7,152,31" alt="">
|
|
</map>
|
|
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classDynamicContext-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#28e3084b59b68a270961e36dd25e6199">~DynamicContext</a> ()</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#4df8655c2c707a99179f5391ce681140">createModuleDynamicContext</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *moduleCtx, <a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *memMgr=<a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">xercesc::XMLPlatformUtils::fgMemoryManager</a>) const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#f27044edcd57ce4c53fd5562a98646a1">clearDynamicContext</a> ()=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Resets the dynamic context, as if it had never been used. <a href="#f27044edcd57ce4c53fd5562a98646a1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">Item::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#f33e4831192407172ff8f702c40c2e50">getContextItem</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the context <a class="el" href="classItem.html">Item</a>. <a href="#f33e4831192407172ff8f702c40c2e50"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#93e2663a4a7a7a643a130c92173928a4">setContextItem</a> (const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &item)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the context item to item. <a href="#93e2663a4a7a7a643a130c92173928a4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#babeea18410ac2e7de2916172b28bcaa">getContextPosition</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the context position. <a href="#babeea18410ac2e7de2916172b28bcaa"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#5dd1a82a7b6314ec0f5b6af88b979d68">setContextPosition</a> (unsigned int pos)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the context position. <a href="#5dd1a82a7b6314ec0f5b6af88b979d68"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#dbb6abe33fdc6fdc9fa4ea16138166c9">getContextSize</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the context size. <a href="#dbb6abe33fdc6fdc9fa4ea16138166c9"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#0c38dac74b4c76be1d87670d79f0d917">setContextSize</a> (unsigned int size)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the context size. <a href="#0c38dac74b4c76be1d87670d79f0d917"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classVariableStore.html">VariableStore</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#928be86b35facdcd0ae18faf9dc732d3">getVariableStore</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">get the variable store <a href="#928be86b35facdcd0ae18faf9dc732d3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#7f428d910c01c0749dc53692ef7daa46">setVariableStore</a> (const <a class="el" href="classVariableStore.html">VariableStore</a> *store)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">set the variable store <a href="#7f428d910c01c0749dc53692ef7daa46"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classVariableStore.html">VariableStore</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#eb924d12357a404f0187513954c3a918">getGlobalVariableStore</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">get the variable store for globally scoped variables <a href="#eb924d12357a404f0187513954c3a918"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#29e8ca9bff880247977fd0980c395734">setGlobalVariableStore</a> (const <a class="el" href="classVariableStore.html">VariableStore</a> *store)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">set the variable store for globally scoped variables <a href="#29e8ca9bff880247977fd0980c395734"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#2997844ffce45ccaee73151cb99d9045">setExternalVariable</a> (const XMLCh *namespaceURI, const XMLCh *name, const <a class="el" href="classSequence.html">Sequence</a> &value)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">set the value of an external global variable with the given uri/localname pair <a href="#2997844ffce45ccaee73151cb99d9045"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#056e72133a7bbb5acdc0eb5792471959">setExternalVariable</a> (const XMLCh *qname, const <a class="el" href="classSequence.html">Sequence</a> &value)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">set the value of an external global variable with the given QName <a href="#056e72133a7bbb5acdc0eb5792471959"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual time_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#23ee7f0fac8fe1a699a26dec8f007edb">getCurrentTime</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the current time. <a href="#23ee7f0fac8fe1a699a26dec8f007edb"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#867bdae486cd14a551ada4b2c3e73c40">setCurrentTime</a> (time_t newTime)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the current time. <a href="#867bdae486cd14a551ada4b2c3e73c40"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#cc4781931739367f33c4d1278caa65ba">getImplicitTimezone</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the implicit timezone for this system. <a href="#cc4781931739367f33c4d1278caa65ba"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#e13e8203c08fbd4fb239b2bba0d15ffa">setImplicitTimezone</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &timezoneAsDuration)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the implicit timezone. <a href="#e13e8203c08fbd4fb239b2bba0d15ffa"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#eaf54fa468b79effd098ac1d6ae87fdf">registerURIResolver</a> (<a class="el" href="classURIResolver.html">URIResolver</a> *resolver, bool adopt)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Register a callback object for resolving URIs. <a href="#eaf54fa468b79effd098ac1d6ae87fdf"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classURIResolver.html">URIResolver</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#1a3cee0679bc04c8fb6ba78c28f132c8">getDefaultURIResolver</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the default <a class="el" href="classURIResolver.html">URIResolver</a>. <a href="#1a3cee0679bc04c8fb6ba78c28f132c8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#814dd17425333c523af5f748a174b8f9">setDefaultURIResolver</a> (<a class="el" href="classURIResolver.html">URIResolver</a> *resolver, bool adopt)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the default <a class="el" href="classURIResolver.html">URIResolver</a>. <a href="#814dd17425333c523af5f748a174b8f9"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classSequence.html">Sequence</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#408f4cd1fbb66f74b26bf7b8dfefab5f">resolveDocument</a> (const XMLCh *uri, const LocationInfo *location)=0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classSequence.html">Sequence</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#abd6a7aba1099800c1aacf80dc473ba8">resolveCollection</a> (const XMLCh *uri, const LocationInfo *location)=0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classSequence.html">Sequence</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#7cf69b3a273e1ffc3909f0670b2889ba">resolveDefaultCollection</a> ()=0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classSequenceBuilder.html">SequenceBuilder</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#f08d7adc594fb6e96cd7e9fffc0feb22">createSequenceBuilder</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new <a class="el" href="classSequenceBuilder.html">SequenceBuilder</a>, which is used to turn a stream of events into a <a class="el" href="classSequence.html">Sequence</a>. <a href="#f08d7adc594fb6e96cd7e9fffc0feb22"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classUpdateFactory.html">UpdateFactory</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#d1fbf383dc170cc8f9c27005206c3470">createUpdateFactory</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classUpdateFactory.html">UpdateFactory</a>, used for performing updates. <a href="#d1fbf383dc170cc8f9c27005206c3470"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDynamicContext.html#830b5133201ef97ac37782be5d5bfd06">testInterrupt</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Test if the query should be interrupted, and throw if so. <a href="#830b5133201ef97ac37782be5d5bfd06"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
The execution time dynamic context interface.
|
|
<p>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="28e3084b59b68a270961e36dd25e6199"></a><!-- doxytag: member="DynamicContext::~DynamicContext" ref="28e3084b59b68a270961e36dd25e6199" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual DynamicContext::~DynamicContext </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="4df8655c2c707a99179f5391ce681140"></a><!-- doxytag: member="DynamicContext::createModuleDynamicContext" ref="4df8655c2c707a99179f5391ce681140" args="(const DynamicContext *moduleCtx, xercesc::MemoryManager *memMgr=xercesc::XMLPlatformUtils::fgMemoryManager) const =0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classDynamicContext.html">DynamicContext</a>* DynamicContext::createModuleDynamicContext </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="paramname"> <em>moduleCtx</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> * </td>
|
|
<td class="paramname"> <em>memMgr</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">xercesc::XMLPlatformUtils::fgMemoryManager</a></code></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="f27044edcd57ce4c53fd5562a98646a1"></a><!-- doxytag: member="DynamicContext::clearDynamicContext" ref="f27044edcd57ce4c53fd5562a98646a1" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::clearDynamicContext </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Resets the dynamic context, as if it had never been used.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="f33e4831192407172ff8f702c40c2e50"></a><!-- doxytag: member="DynamicContext::getContextItem" ref="f33e4831192407172ff8f702c40c2e50" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">Item::Ptr</a> DynamicContext::getContextItem </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the context <a class="el" href="classItem.html">Item</a>.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="93e2663a4a7a7a643a130c92173928a4"></a><!-- doxytag: member="DynamicContext::setContextItem" ref="93e2663a4a7a7a643a130c92173928a4" args="(const Item::Ptr &item)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setContextItem </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> & </td>
|
|
<td class="paramname"> <em>item</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the context item to item.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="babeea18410ac2e7de2916172b28bcaa"></a><!-- doxytag: member="DynamicContext::getContextPosition" ref="babeea18410ac2e7de2916172b28bcaa" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual unsigned int DynamicContext::getContextPosition </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the context position.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="5dd1a82a7b6314ec0f5b6af88b979d68"></a><!-- doxytag: member="DynamicContext::setContextPosition" ref="5dd1a82a7b6314ec0f5b6af88b979d68" args="(unsigned int pos)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setContextPosition </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"> <em>pos</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the context position.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="dbb6abe33fdc6fdc9fa4ea16138166c9"></a><!-- doxytag: member="DynamicContext::getContextSize" ref="dbb6abe33fdc6fdc9fa4ea16138166c9" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual unsigned int DynamicContext::getContextSize </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the context size.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="0c38dac74b4c76be1d87670d79f0d917"></a><!-- doxytag: member="DynamicContext::setContextSize" ref="0c38dac74b4c76be1d87670d79f0d917" args="(unsigned int size)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setContextSize </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"> <em>size</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the context size.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="928be86b35facdcd0ae18faf9dc732d3"></a><!-- doxytag: member="DynamicContext::getVariableStore" ref="928be86b35facdcd0ae18faf9dc732d3" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const <a class="el" href="classVariableStore.html">VariableStore</a>* DynamicContext::getVariableStore </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
get the variable store
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="7f428d910c01c0749dc53692ef7daa46"></a><!-- doxytag: member="DynamicContext::setVariableStore" ref="7f428d910c01c0749dc53692ef7daa46" args="(const VariableStore *store)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setVariableStore </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classVariableStore.html">VariableStore</a> * </td>
|
|
<td class="paramname"> <em>store</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
set the variable store
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="eb924d12357a404f0187513954c3a918"></a><!-- doxytag: member="DynamicContext::getGlobalVariableStore" ref="eb924d12357a404f0187513954c3a918" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const <a class="el" href="classVariableStore.html">VariableStore</a>* DynamicContext::getGlobalVariableStore </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
get the variable store for globally scoped variables
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="29e8ca9bff880247977fd0980c395734"></a><!-- doxytag: member="DynamicContext::setGlobalVariableStore" ref="29e8ca9bff880247977fd0980c395734" args="(const VariableStore *store)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setGlobalVariableStore </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classVariableStore.html">VariableStore</a> * </td>
|
|
<td class="paramname"> <em>store</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
set the variable store for globally scoped variables
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="2997844ffce45ccaee73151cb99d9045"></a><!-- doxytag: member="DynamicContext::setExternalVariable" ref="2997844ffce45ccaee73151cb99d9045" args="(const XMLCh *namespaceURI, const XMLCh *name, const Sequence &value)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setExternalVariable </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>namespaceURI</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>name</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classSequence.html">Sequence</a> & </td>
|
|
<td class="paramname"> <em>value</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
set the value of an external global variable with the given uri/localname pair
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="056e72133a7bbb5acdc0eb5792471959"></a><!-- doxytag: member="DynamicContext::setExternalVariable" ref="056e72133a7bbb5acdc0eb5792471959" args="(const XMLCh *qname, const Sequence &value)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setExternalVariable </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>qname</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="el" href="classSequence.html">Sequence</a> & </td>
|
|
<td class="paramname"> <em>value</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
set the value of an external global variable with the given QName
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="23ee7f0fac8fe1a699a26dec8f007edb"></a><!-- doxytag: member="DynamicContext::getCurrentTime" ref="23ee7f0fac8fe1a699a26dec8f007edb" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual time_t DynamicContext::getCurrentTime </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Return the current time.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="867bdae486cd14a551ada4b2c3e73c40"></a><!-- doxytag: member="DynamicContext::setCurrentTime" ref="867bdae486cd14a551ada4b2c3e73c40" args="(time_t newTime)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setCurrentTime </td>
|
|
<td>(</td>
|
|
<td class="paramtype">time_t </td>
|
|
<td class="paramname"> <em>newTime</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the current time.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="cc4781931739367f33c4d1278caa65ba"></a><!-- doxytag: member="DynamicContext::getImplicitTimezone" ref="cc4781931739367f33c4d1278caa65ba" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> DynamicContext::getImplicitTimezone </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Return the implicit timezone for this system.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="e13e8203c08fbd4fb239b2bba0d15ffa"></a><!-- doxytag: member="DynamicContext::setImplicitTimezone" ref="e13e8203c08fbd4fb239b2bba0d15ffa" args="(const ATDurationOrDerived::Ptr &timezoneAsDuration)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setImplicitTimezone </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> & </td>
|
|
<td class="paramname"> <em>timezoneAsDuration</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the implicit timezone.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="eaf54fa468b79effd098ac1d6ae87fdf"></a><!-- doxytag: member="DynamicContext::registerURIResolver" ref="eaf54fa468b79effd098ac1d6ae87fdf" args="(URIResolver *resolver, bool adopt)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::registerURIResolver </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classURIResolver.html">URIResolver</a> * </td>
|
|
<td class="paramname"> <em>resolver</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>adopt</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Register a callback object for resolving URIs.
|
|
<p>
|
|
Multiple <a class="el" href="classURIResolver.html">URIResolver</a> objects can be registered with the <a class="el" href="classDynamicContext.html">DynamicContext</a> at the same time. The most recently added <a class="el" href="classURIResolver.html">URIResolver</a> will be called first, and if it returns NULL, subsequent ones will be called - ending in a call to the fallback routines.<p>
|
|
If "adopt" is false, the <a class="el" href="classDynamicContext.html">DynamicContext</a> will not adopt this object, making the user responsible for making sure that the <a class="el" href="classURIResolver.html">URIResolver</a> object's lifespan matches or exceeds the life of the <a class="el" href="classDynamicContext.html">DynamicContext</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="1a3cee0679bc04c8fb6ba78c28f132c8"></a><!-- doxytag: member="DynamicContext::getDefaultURIResolver" ref="1a3cee0679bc04c8fb6ba78c28f132c8" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classURIResolver.html">URIResolver</a>* DynamicContext::getDefaultURIResolver </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Returns the default <a class="el" href="classURIResolver.html">URIResolver</a>.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="814dd17425333c523af5f748a174b8f9"></a><!-- doxytag: member="DynamicContext::setDefaultURIResolver" ref="814dd17425333c523af5f748a174b8f9" args="(URIResolver *resolver, bool adopt)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::setDefaultURIResolver </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classURIResolver.html">URIResolver</a> * </td>
|
|
<td class="paramname"> <em>resolver</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>adopt</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Sets the default <a class="el" href="classURIResolver.html">URIResolver</a>.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="408f4cd1fbb66f74b26bf7b8dfefab5f"></a><!-- doxytag: member="DynamicContext::resolveDocument" ref="408f4cd1fbb66f74b26bf7b8dfefab5f" args="(const XMLCh *uri, const LocationInfo *location)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classSequence.html">Sequence</a> DynamicContext::resolveDocument </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>uri</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const LocationInfo * </td>
|
|
<td class="paramname"> <em>location</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="abd6a7aba1099800c1aacf80dc473ba8"></a><!-- doxytag: member="DynamicContext::resolveCollection" ref="abd6a7aba1099800c1aacf80dc473ba8" args="(const XMLCh *uri, const LocationInfo *location)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classSequence.html">Sequence</a> DynamicContext::resolveCollection </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>uri</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const LocationInfo * </td>
|
|
<td class="paramname"> <em>location</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="7cf69b3a273e1ffc3909f0670b2889ba"></a><!-- doxytag: member="DynamicContext::resolveDefaultCollection" ref="7cf69b3a273e1ffc3909f0670b2889ba" args="()=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classSequence.html">Sequence</a> DynamicContext::resolveDefaultCollection </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="f08d7adc594fb6e96cd7e9fffc0feb22"></a><!-- doxytag: member="DynamicContext::createSequenceBuilder" ref="f08d7adc594fb6e96cd7e9fffc0feb22" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classSequenceBuilder.html">SequenceBuilder</a>* DynamicContext::createSequenceBuilder </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Create a new <a class="el" href="classSequenceBuilder.html">SequenceBuilder</a>, which is used to turn a stream of events into a <a class="el" href="classSequence.html">Sequence</a>.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="d1fbf383dc170cc8f9c27005206c3470"></a><!-- doxytag: member="DynamicContext::createUpdateFactory" ref="d1fbf383dc170cc8f9c27005206c3470" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classUpdateFactory.html">UpdateFactory</a>* DynamicContext::createUpdateFactory </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Creates a new <a class="el" href="classUpdateFactory.html">UpdateFactory</a>, used for performing updates.
|
|
<p>
|
|
Caller owns the returned object, and should delete it
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="830b5133201ef97ac37782be5d5bfd06"></a><!-- doxytag: member="DynamicContext::testInterrupt" ref="830b5133201ef97ac37782be5d5bfd06" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void DynamicContext::testInterrupt </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Test if the query should be interrupted, and throw if so.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="DynamicContext_8hpp-source.html">DynamicContext.hpp</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Fri Aug 31 14:37:52 2007 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.5.1 </small></address>
|
|
</body>
|
|
</html>
|