idlebox / 2007 / stx-btree / stx-btree-0.8.3 / doxygen-html / structstx_1_1btree_1_1node.html.html (Download File)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>STX B+ Tree Template Classes: stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node Struct Reference</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.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.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="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 class="navpath"><a class="el" href="namespacestx.html">stx</a>::<a class="el" href="classstx_1_1btree.html">btree</a>::<a class="el" href="structstx_1_1btree_1_1node.html">node</a>
  </div>
</div>
<div class="contents">
<h1>stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node Struct Reference</h1><!-- doxytag: class="stx::btree::node" -->The header structure of each <a class="el" href="structstx_1_1btree_1_1node.html" title="The header structure of each node in-memory.">node</a> in-memory.  
<a href="#_details">More...</a>
<p>
Inherited by <a class="el" href="structstx_1_1btree_1_1inner__node.html">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::inner_node</a>, and <a class="el" href="structstx_1_1btree_1_1leaf__node.html">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::leaf_node</a>.
<p>

<p>
<a href="structstx_1_1btree_1_1node-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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstx_1_1btree_1_1node.html#2080bfd07cff3904cdb0db27a4bfa9fa">initialize</a> (const unsigned short l)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Delayed initialisation of constructed <a class="el" href="structstx_1_1btree_1_1node.html" title="The header structure of each node in-memory.">node</a>.  <a href="#2080bfd07cff3904cdb0db27a4bfa9fa"></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="structstx_1_1btree_1_1node.html#c7e7d59c64afae8bb9257d5a5a9ab1b8">isleafnode</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if this is a leaf <a class="el" href="structstx_1_1btree_1_1node.html" title="The header structure of each node in-memory.">node</a>.  <a href="#c7e7d59c64afae8bb9257d5a5a9ab1b8"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstx_1_1btree_1_1node.html#7f1964408f460bd6aa16231e41548d04">level</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Level in the b-tree, if level == 0 -&gt; leaf <a class="el" href="structstx_1_1btree_1_1node.html" title="The header structure of each node in-memory.">node</a>.  <a href="#7f1964408f460bd6aa16231e41548d04"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstx_1_1btree_1_1node.html#3b012ed5aca34a261be978cb0b183812">slotuse</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of key slotuse use, so number of valid children or data pointers.  <a href="#3b012ed5aca34a261be978cb0b183812"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename _Key, typename _Data, typename _Value = std::pair&lt;_Key, _Data&gt;, typename _Compare = std::less&lt;_Key&gt;, typename _Traits = btree_default_map_traits&lt;_Key, _Data&gt;, bool _Duplicates = false&gt;<br>
 struct stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node</h3>

The header structure of each <a class="el" href="structstx_1_1btree_1_1node.html" title="The header structure of each node in-memory.">node</a> in-memory.
<p>
This structure is extended by <a class="el" href="structstx_1_1btree_1_1inner__node.html" title="Extended structure of a inner node in-memory.">inner_node</a> or <a class="el" href="structstx_1_1btree_1_1leaf__node.html" title="Extended structure of a leaf node in memory.">leaf_node</a>.
<p>Definition at line <a class="el" href="btree_8h-source.html#l00219">219</a> of file <a class="el" href="btree_8h-source.html">btree.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2080bfd07cff3904cdb0db27a4bfa9fa"></a><!-- doxytag: member="stx::btree::node::initialize" ref="2080bfd07cff3904cdb0db27a4bfa9fa" args="(const unsigned short l)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Key, typename _Data, typename _Value = std::pair&lt;_Key, _Data&gt;, typename _Compare = std::less&lt;_Key&gt;, typename _Traits = btree_default_map_traits&lt;_Key, _Data&gt;, bool _Duplicates = false&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classstx_1_1btree.html">stx::btree</a>&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node::initialize           </td>
          <td>(</td>
          <td class="paramtype">const unsigned short&nbsp;</td>
          <td class="paramname"> <em>l</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Delayed initialisation of constructed <a class="el" href="structstx_1_1btree_1_1node.html" title="The header structure of each node in-memory.">node</a>.
<p>

<p>Reimplemented in <a class="el" href="structstx_1_1btree_1_1inner__node.html#f44644e684d49141dc8ca17de22c1d8a">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::inner_node</a>.</p>

<p>Definition at line <a class="el" href="btree_8h-source.html#l00229">229</a> of file <a class="el" href="btree_8h-source.html">btree.h</a>.</p>

<p>References <a class="el" href="btree_8h-source.html#l00222">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node::level</a>, and <a class="el" href="btree_8h-source.html#l00226">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node::slotuse</a>.</p>

<p>Referenced by <a class="el" href="btree_8h-source.html#l00295">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::leaf_node::initialize()</a>, and <a class="el" href="btree_8h-source.html#l00253">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::inner_node::initialize()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c7e7d59c64afae8bb9257d5a5a9ab1b8"></a><!-- doxytag: member="stx::btree::node::isleafnode" ref="c7e7d59c64afae8bb9257d5a5a9ab1b8" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Key, typename _Data, typename _Value = std::pair&lt;_Key, _Data&gt;, typename _Compare = std::less&lt;_Key&gt;, typename _Traits = btree_default_map_traits&lt;_Key, _Data&gt;, bool _Duplicates = false&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classstx_1_1btree.html">stx::btree</a>&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node::isleafnode           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
True if this is a leaf <a class="el" href="structstx_1_1btree_1_1node.html" title="The header structure of each node in-memory.">node</a>.
<p>

<p>Definition at line <a class="el" href="btree_8h-source.html#l00236">236</a> of file <a class="el" href="btree_8h-source.html">btree.h</a>.</p>

<p>References <a class="el" href="btree_8h-source.html#l00222">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node::level</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="7f1964408f460bd6aa16231e41548d04"></a><!-- doxytag: member="stx::btree::node::level" ref="7f1964408f460bd6aa16231e41548d04" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Key, typename _Data, typename _Value = std::pair&lt;_Key, _Data&gt;, typename _Compare = std::less&lt;_Key&gt;, typename _Traits = btree_default_map_traits&lt;_Key, _Data&gt;, bool _Duplicates = false&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">unsigned short <a class="el" href="classstx_1_1btree.html">stx::btree</a>&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::<a class="el" href="structstx_1_1btree_1_1node.html#7f1964408f460bd6aa16231e41548d04">node::level</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Level in the b-tree, if level == 0 -&gt; leaf <a class="el" href="structstx_1_1btree_1_1node.html" title="The header structure of each node in-memory.">node</a>.
<p>

<p>Definition at line <a class="el" href="btree_8h-source.html#l00222">222</a> of file <a class="el" href="btree_8h-source.html">btree.h</a>.</p>

<p>Referenced by <a class="el" href="btree_8h-source.html#l00229">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node::initialize()</a>, <a class="el" href="btree_8h-source.html#l02008">stx::btree&lt; _Key, _Data, std::pair&lt; key_type, data_type &gt;, _Compare, _Traits, true &gt;::insert_start()</a>, and <a class="el" href="btree_8h-source.html#l00236">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node::isleafnode()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3b012ed5aca34a261be978cb0b183812"></a><!-- doxytag: member="stx::btree::node::slotuse" ref="3b012ed5aca34a261be978cb0b183812" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename _Key, typename _Data, typename _Value = std::pair&lt;_Key, _Data&gt;, typename _Compare = std::less&lt;_Key&gt;, typename _Traits = btree_default_map_traits&lt;_Key, _Data&gt;, bool _Duplicates = false&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">unsigned short <a class="el" href="classstx_1_1btree.html">stx::btree</a>&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::<a class="el" href="structstx_1_1btree_1_1node.html#3b012ed5aca34a261be978cb0b183812">node::slotuse</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Number of key slotuse use, so number of valid children or data pointers.
<p>

<p>Definition at line <a class="el" href="btree_8h-source.html#l00226">226</a> of file <a class="el" href="btree_8h-source.html">btree.h</a>.</p>

<p>Referenced by <a class="el" href="btree_8h-source.html#l01450">stx::btree&lt; _Key, _Data, std::pair&lt; key_type, data_type &gt;, _Compare, _Traits, true &gt;::end()</a>, <a class="el" href="btree_8h-source.html#l02400">stx::btree&lt; _Key, _Data, std::pair&lt; key_type, data_type &gt;, _Compare, _Traits, true &gt;::erase_one_descend()</a>, <a class="el" href="btree_8h-source.html#l00229">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::node::initialize()</a>, <a class="el" href="btree_8h-source.html#l02008">stx::btree&lt; _Key, _Data, std::pair&lt; key_type, data_type &gt;, _Compare, _Traits, true &gt;::insert_start()</a>, <a class="el" href="btree_8h-source.html#l00308">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::leaf_node::isfew()</a>, <a class="el" href="btree_8h-source.html#l00265">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::inner_node::isfew()</a>, <a class="el" href="btree_8h-source.html#l00302">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::leaf_node::isfull()</a>, <a class="el" href="btree_8h-source.html#l00259">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::inner_node::isfull()</a>, <a class="el" href="btree_8h-source.html#l00314">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::leaf_node::isunderflow()</a>, <a class="el" href="btree_8h-source.html#l00271">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::inner_node::isunderflow()</a>, <a class="el" href="btree_8h-source.html#l02677">stx::btree&lt; _Key, _Data, std::pair&lt; key_type, data_type &gt;, _Compare, _Traits, true &gt;::merge_leaves()</a>, <a class="el" href="btree_8h-source.html#l01090">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::const_reverse_iterator::operator++()</a>, <a class="el" href="btree_8h-source.html#l00882">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::reverse_iterator::operator++()</a>, <a class="el" href="btree_8h-source.html#l00679">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::const_iterator::operator++()</a>, <a class="el" href="btree_8h-source.html#l00475">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::iterator::operator++()</a>, <a class="el" href="btree_8h-source.html#l01128">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::const_reverse_iterator::operator--()</a>, <a class="el" href="btree_8h-source.html#l00920">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::reverse_iterator::operator--()</a>, <a class="el" href="btree_8h-source.html#l00717">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::const_iterator::operator--()</a>, and <a class="el" href="btree_8h-source.html#l00513">stx::btree&lt; _Key, _Data, _Value, _Compare, _Traits, _Duplicates &gt;::iterator::operator--()</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>stx/<a class="el" href="btree_8h-source.html">btree.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Sep 7 17:32:39 2008 for STX B+ Tree Template Classes by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
RSS 2.0 Weblog Feed Atom 1.0 Weblog Feed Valid XHTML 1.1 Valid CSS (2.1)