XQuilla/docs/simple-api/classSequence.html
2020-02-17 22:17:06 +01:00

797 lines
37 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&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
<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 class="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>Sequence Class Reference</h1><!-- doxytag: class="Sequence" --><!-- doxytag: inherits="xercesc::XMemory" -->An eagerly evaluated result of a query execution.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="Sequence_8hpp-source.html">Sequence.hpp</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Sequence:</div>
<div class="dynsection">
<p><center><img src="classSequence__inherit__graph.png" border="0" usemap="#Sequence__inherit__map" alt="Inheritance graph"></center>
<map name="Sequence__inherit__map">
<area shape="rect" href="classxercesc_1_1XMemory.html" title="This class makes it possible to override the C++ memory management by adding new/delete..." alt="" coords="5,7,136,31"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="classSequence-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef VectorOfItems::iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#6e54be73fa2aa2beda694962a69d7ec7">iterator</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br>
VectorOfItems::const_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#4a4082896c31b945e33add03983aed76">const_iterator</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br>
VectorOfItems::reverse_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#ea0d730652690883ae862b3ee9202edc">reverse_iterator</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <br>
VectorOfItems::const_reverse_iterator&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#c28b0da86364e8acc34cd3cf36c77666">const_reverse_iterator</a></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#2a3967ebd706962f96ff124463657677">Sequence</a> (const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;item, <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>)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#9ba55a8dfd7a883f5f838d166f5c90cd">Sequence</a> (<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>)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#58a483830f436eaa601e38e3b4aa122c">Sequence</a> (size_t n, <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>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">construct and reserve space for n elements <a href="#58a483830f436eaa601e38e3b4aa122c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#09ef0b5f561cc69a123cd83e46f5d96f">Sequence</a> (const <a class="el" href="classSequence.html">Sequence</a> &amp;, <a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *memMgr)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#7c7b958fda0e870ea01edfb4f974cc3a">Sequence</a> (const <a class="el" href="classSequence.html">Sequence</a> &amp;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html">Sequence</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#2508fae41bf2fd21883fd9efade9886a">operator=</a> (const <a class="el" href="classSequence.html">Sequence</a> &amp;)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#ee09a7d70c3ab523fed85da94ea1366f">~Sequence</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#4891f86fec65088d1bc4846fc32035a5">clear</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#f3fb9c0ee71be799fc17cfe89d78a73e">first</a> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#e2d20e29b63195b0124a79a0d3ea825c">second</a> () const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html#6e54be73fa2aa2beda694962a69d7ec7">Sequence::iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#afa33403791ab363c291ffe81243f974">begin</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Begin an iterator. <a href="#afa33403791ab363c291ffe81243f974"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html#4a4082896c31b945e33add03983aed76">Sequence::const_iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#53fd018d3c131e777bb380b3ad5766c1">begin</a> (void) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html#6e54be73fa2aa2beda694962a69d7ec7">Sequence::iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#2d616aa2fe7e85dbd17c06409d61c1df">end</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find the end of the iterator. <a href="#2d616aa2fe7e85dbd17c06409d61c1df"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html#4a4082896c31b945e33add03983aed76">Sequence::const_iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#d1983ad126e6c448eec537ec3dd57960">end</a> (void) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html#ea0d730652690883ae862b3ee9202edc">Sequence::reverse_iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#c21a6bca509ec8ed6004599533cb1604">rbegin</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reverse iterator methods. <a href="#c21a6bca509ec8ed6004599533cb1604"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html#c28b0da86364e8acc34cd3cf36c77666">Sequence::const_reverse_iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#cd3b9c2ace714f6f5e42db6baff41fc2">rbegin</a> (void) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html#ea0d730652690883ae862b3ee9202edc">Sequence::reverse_iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#a0491d409486f9b8e3a0b963d6723c19">rend</a> (void)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSequence.html#c28b0da86364e8acc34cd3cf36c77666">Sequence::const_reverse_iterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#b530d613b17f2d9d82f925ce2c037015">rend</a> (void) const </td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#79b5116e1d5ca5c0ec8d0348e3167aae">getLength</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of nodes in the list. <a href="#79b5116e1d5ca5c0ec8d0348e3167aae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#d952a46c19479f0d0f5a180b6662f58a">item</a> (size_t index) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the indexth item in the collection. <a href="#d952a46c19479f0d0f5a180b6662f58a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#864ec3a5a52d91187f87850ecf437402">item</a> (const <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> &amp;index) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the indexth item in the collection - takes <a class="el" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a>. <a href="#864ec3a5a52d91187f87850ecf437402"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#1467a89254f6977406b63de8459860c5">addItem</a> (const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">add an item to this sequence <a href="#1467a89254f6977406b63de8459860c5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#68d9cc552cd086e311d2aa6aa590926d">addItemFront</a> (const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">add an item to this sequence <a href="#68d9cc552cd086e311d2aa6aa590926d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#94386633850ac36a64fc920b88a93355">joinSequence</a> (const <a class="el" href="classSequence.html">Sequence</a> &amp;s)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">combine another sequence onto this sequence <a href="#94386633850ac36a64fc920b88a93355"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#2ebcd0c5affa227a817b3b0fc08de79b">isEmpty</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the list is empty. <a href="#2ebcd0c5affa227a817b3b0fc08de79b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#741b99d66f0114482a0c8c1b01106f93">sortIntoDocumentOrder</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">sort into document order (only works for Sequences containing only Nodes) <a href="#741b99d66f0114482a0c8c1b01106f93"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSequence.html#ea15042333c2bb7519b13c632074472b">sortWithCollation</a> (const <a class="el" href="classCollation.html">Collation</a> *collation, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">sort as strings, using the given collation <a href="#ea15042333c2bb7519b13c632074472b"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An eagerly evaluated result of a query execution. <dl compact><dt><b>Examples: </b></dt><dd>
<p>
<a class="el" href="simple-context-item_8cpp-example.html#_a3">simple-context-item.cpp</a>.</dl><hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="6e54be73fa2aa2beda694962a69d7ec7"></a><!-- doxytag: member="Sequence::iterator" ref="6e54be73fa2aa2beda694962a69d7ec7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef VectorOfItems::iterator <a class="el" href="classSequence.html#6e54be73fa2aa2beda694962a69d7ec7">Sequence::iterator</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="4a4082896c31b945e33add03983aed76"></a><!-- doxytag: member="Sequence::const_iterator" ref="4a4082896c31b945e33add03983aed76" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef VectorOfItems::const_iterator <a class="el" href="classSequence.html#4a4082896c31b945e33add03983aed76">Sequence::const_iterator</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="ea0d730652690883ae862b3ee9202edc"></a><!-- doxytag: member="Sequence::reverse_iterator" ref="ea0d730652690883ae862b3ee9202edc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef VectorOfItems::reverse_iterator <a class="el" href="classSequence.html#ea0d730652690883ae862b3ee9202edc">Sequence::reverse_iterator</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="c28b0da86364e8acc34cd3cf36c77666"></a><!-- doxytag: member="Sequence::const_reverse_iterator" ref="c28b0da86364e8acc34cd3cf36c77666" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef VectorOfItems::const_reverse_iterator <a class="el" href="classSequence.html#c28b0da86364e8acc34cd3cf36c77666">Sequence::const_reverse_iterator</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2a3967ebd706962f96ff124463657677"></a><!-- doxytag: member="Sequence::Sequence" ref="2a3967ebd706962f96ff124463657677" args="(const Item::Ptr &amp;item, xercesc::MemoryManager *memMgr=xercesc::XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Sequence::Sequence </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>item</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *&nbsp;</td>
<td class="paramname"> <em>memMgr</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">xercesc::XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="9ba55a8dfd7a883f5f838d166f5c90cd"></a><!-- doxytag: member="Sequence::Sequence" ref="9ba55a8dfd7a883f5f838d166f5c90cd" args="(xercesc::MemoryManager *memMgr=xercesc::XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Sequence::Sequence </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *&nbsp;</td>
<td class="paramname"> <em>memMgr</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">xercesc::XMLPlatformUtils::fgMemoryManager</a></code> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="58a483830f436eaa601e38e3b4aa122c"></a><!-- doxytag: member="Sequence::Sequence" ref="58a483830f436eaa601e38e3b4aa122c" args="(size_t n, xercesc::MemoryManager *memMgr=xercesc::XMLPlatformUtils::fgMemoryManager)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Sequence::Sequence </td>
<td>(</td>
<td class="paramtype">size_t&nbsp;</td>
<td class="paramname"> <em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *&nbsp;</td>
<td class="paramname"> <em>memMgr</em> = <code><a class="el" href="classxercesc_1_1XMLPlatformUtils.html#2521473ea52894e9313573d330a264b4">xercesc::XMLPlatformUtils::fgMemoryManager</a></code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
construct and reserve space for n elements
<p>
</div>
</div><p>
<a class="anchor" name="09ef0b5f561cc69a123cd83e46f5d96f"></a><!-- doxytag: member="Sequence::Sequence" ref="09ef0b5f561cc69a123cd83e46f5d96f" args="(const Sequence &amp;, xercesc::MemoryManager *memMgr)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Sequence::Sequence </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classSequence.html">Sequence</a> &amp;&nbsp;</td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classxercesc_1_1MemoryManager.html">xercesc::MemoryManager</a> *&nbsp;</td>
<td class="paramname"> <em>memMgr</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="7c7b958fda0e870ea01edfb4f974cc3a"></a><!-- doxytag: member="Sequence::Sequence" ref="7c7b958fda0e870ea01edfb4f974cc3a" args="(const Sequence &amp;)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Sequence::Sequence </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classSequence.html">Sequence</a> &amp;&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="ee09a7d70c3ab523fed85da94ea1366f"></a><!-- doxytag: member="Sequence::~Sequence" ref="ee09a7d70c3ab523fed85da94ea1366f" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Sequence::~Sequence </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2508fae41bf2fd21883fd9efade9886a"></a><!-- doxytag: member="Sequence::operator=" ref="2508fae41bf2fd21883fd9efade9886a" args="(const Sequence &amp;)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html">Sequence</a>&amp; Sequence::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classSequence.html">Sequence</a> &amp;&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="4891f86fec65088d1bc4846fc32035a5"></a><!-- doxytag: member="Sequence::clear" ref="4891f86fec65088d1bc4846fc32035a5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Sequence::clear </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="f3fb9c0ee71be799fc17cfe89d78a73e"></a><!-- doxytag: member="Sequence::first" ref="f3fb9c0ee71be799fc17cfe89d78a73e" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a>&amp; Sequence::first </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="e2d20e29b63195b0124a79a0d3ea825c"></a><!-- doxytag: member="Sequence::second" ref="e2d20e29b63195b0124a79a0d3ea825c" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a>&amp; Sequence::second </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="afa33403791ab363c291ffe81243f974"></a><!-- doxytag: member="Sequence::begin" ref="afa33403791ab363c291ffe81243f974" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html#6e54be73fa2aa2beda694962a69d7ec7">Sequence::iterator</a> Sequence::begin </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Begin an iterator.
<p>
</div>
</div><p>
<a class="anchor" name="53fd018d3c131e777bb380b3ad5766c1"></a><!-- doxytag: member="Sequence::begin" ref="53fd018d3c131e777bb380b3ad5766c1" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html#4a4082896c31b945e33add03983aed76">Sequence::const_iterator</a> Sequence::begin </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="2d616aa2fe7e85dbd17c06409d61c1df"></a><!-- doxytag: member="Sequence::end" ref="2d616aa2fe7e85dbd17c06409d61c1df" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html#6e54be73fa2aa2beda694962a69d7ec7">Sequence::iterator</a> Sequence::end </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Find the end of the iterator.
<p>
</div>
</div><p>
<a class="anchor" name="d1983ad126e6c448eec537ec3dd57960"></a><!-- doxytag: member="Sequence::end" ref="d1983ad126e6c448eec537ec3dd57960" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html#4a4082896c31b945e33add03983aed76">Sequence::const_iterator</a> Sequence::end </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="c21a6bca509ec8ed6004599533cb1604"></a><!-- doxytag: member="Sequence::rbegin" ref="c21a6bca509ec8ed6004599533cb1604" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html#ea0d730652690883ae862b3ee9202edc">Sequence::reverse_iterator</a> Sequence::rbegin </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Reverse iterator methods.
<p>
</div>
</div><p>
<a class="anchor" name="cd3b9c2ace714f6f5e42db6baff41fc2"></a><!-- doxytag: member="Sequence::rbegin" ref="cd3b9c2ace714f6f5e42db6baff41fc2" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html#c28b0da86364e8acc34cd3cf36c77666">Sequence::const_reverse_iterator</a> Sequence::rbegin </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="a0491d409486f9b8e3a0b963d6723c19"></a><!-- doxytag: member="Sequence::rend" ref="a0491d409486f9b8e3a0b963d6723c19" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html#ea0d730652690883ae862b3ee9202edc">Sequence::reverse_iterator</a> Sequence::rend </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b530d613b17f2d9d82f925ce2c037015"></a><!-- doxytag: member="Sequence::rend" ref="b530d613b17f2d9d82f925ce2c037015" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classSequence.html#c28b0da86364e8acc34cd3cf36c77666">Sequence::const_reverse_iterator</a> Sequence::rend </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="79b5116e1d5ca5c0ec8d0348e3167aae"></a><!-- doxytag: member="Sequence::getLength" ref="79b5116e1d5ca5c0ec8d0348e3167aae" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t Sequence::getLength </td>
<td>(</td>
<td class="paramtype">void&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the number of nodes in the list.
<p>
</div>
</div><p>
<a class="anchor" name="d952a46c19479f0d0f5a180b6662f58a"></a><!-- doxytag: member="Sequence::item" ref="d952a46c19479f0d0f5a180b6662f58a" args="(size_t index) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a>&amp; Sequence::item </td>
<td>(</td>
<td class="paramtype">size_t&nbsp;</td>
<td class="paramname"> <em>index</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return the indexth item in the collection.
<p>
</div>
</div><p>
<a class="anchor" name="864ec3a5a52d91187f87850ecf437402"></a><!-- doxytag: member="Sequence::item" ref="864ec3a5a52d91187f87850ecf437402" args="(const ATDecimalOrDerived::Ptr &amp;index) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a>&amp; Sequence::item </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>index</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return the indexth item in the collection - takes <a class="el" href="classATDecimalOrDerived.html">ATDecimalOrDerived</a>.
<p>
</div>
</div><p>
<a class="anchor" name="1467a89254f6977406b63de8459860c5"></a><!-- doxytag: member="Sequence::addItem" ref="1467a89254f6977406b63de8459860c5" args="(const Item::Ptr &amp;item)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Sequence::addItem </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>item</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
add an item to this sequence
<p>
</div>
</div><p>
<a class="anchor" name="68d9cc552cd086e311d2aa6aa590926d"></a><!-- doxytag: member="Sequence::addItemFront" ref="68d9cc552cd086e311d2aa6aa590926d" args="(const Item::Ptr &amp;item)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Sequence::addItemFront </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classRefCountPointer.html">Item::Ptr</a> &amp;&nbsp;</td>
<td class="paramname"> <em>item</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
add an item to this sequence
<p>
</div>
</div><p>
<a class="anchor" name="94386633850ac36a64fc920b88a93355"></a><!-- doxytag: member="Sequence::joinSequence" ref="94386633850ac36a64fc920b88a93355" args="(const Sequence &amp;s)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Sequence::joinSequence </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classSequence.html">Sequence</a> &amp;&nbsp;</td>
<td class="paramname"> <em>s</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
combine another sequence onto this sequence
<p>
</div>
</div><p>
<a class="anchor" name="2ebcd0c5affa227a817b3b0fc08de79b"></a><!-- doxytag: member="Sequence::isEmpty" ref="2ebcd0c5affa227a817b3b0fc08de79b" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Sequence::isEmpty </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns true if the list is empty.
<p>
</div>
</div><p>
<a class="anchor" name="741b99d66f0114482a0c8c1b01106f93"></a><!-- doxytag: member="Sequence::sortIntoDocumentOrder" ref="741b99d66f0114482a0c8c1b01106f93" args="(const DynamicContext *context)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Sequence::sortIntoDocumentOrder </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
sort into document order (only works for Sequences containing only Nodes)
<p>
</div>
</div><p>
<a class="anchor" name="ea15042333c2bb7519b13c632074472b"></a><!-- doxytag: member="Sequence::sortWithCollation" ref="ea15042333c2bb7519b13c632074472b" args="(const Collation *collation, const DynamicContext *context)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Sequence::sortWithCollation </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCollation.html">Collation</a> *&nbsp;</td>
<td class="paramname"> <em>collation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classDynamicContext.html">DynamicContext</a> *&nbsp;</td>
<td class="paramname"> <em>context</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
sort as strings, using the given collation
<p>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="Sequence_8hpp-source.html">Sequence.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 19:54:24 2009 for XQilla Simple API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>