1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6 <meta name="generator" content=
7 "HTML Tidy for Linux/x86 (vers 12 April 2005), see www.w3.org" />
9 <title>sample_trie_node_update Interface</title>
10 <meta http-equiv="Content-Type" content=
11 "text/html; charset=us-ascii" />
16 <h1><tt>sample_trie_node_update</tt> Interface</h1>
18 <p>A sample node updater.</p>
20 <p>This class serves to show the interface a node update
21 functor needs to support.</p>
23 <p>Defined in: <a href=
24 "../../../../include/ext/pb_ds/detail/trie_policy/sample_trie_node_update.hpp"><tt>
25 sample_trie_node_update.hpp</tt></a></p>
27 <h2><a name="link1" id="link1">Template Parameters</a></h2>
29 <table class="c1" width="100%" border="1" summary=
30 "Template Parameters">
32 <td width="20%" align="left"><b>Parameter</b></td>
34 <td width="50%" align="left"><b>Description</b></td>
36 <td width="30%" align="left"><b>Default Value</b></td>
42 <a name="Const_Node_Iterator1933878761" id=
43 "Const_Node_Iterator1933878761"><b>class</b> Const_Node_Iterator</a>
48 <p>Const node iterator type.</p>
57 <a name="Node_Iterator4206909839" id=
58 "Node_Iterator4206909839"><b>class</b> Node_Iterator</a>
63 <p>Node iterator type.</p>
72 <a name="E_Access_Traits686553840" id=
73 "E_Access_Traits686553840"><b>class</b> E_Access_Traits</a>
78 <p>Comparison functor.</p>
87 <a name="Allocator35940069" id=
88 "Allocator35940069"><b>class</b> Allocator</a>
93 <p>Allocator type.</p>
100 <h2><a name="link2" id="link2">Public Types and
103 <h3><a name="link3" id="link3">Metadata definitions.</a></h3>
105 <table class="c1" width="100%" border="1" summary="Types">
107 <td width="30%" align="left"><b>Type</b></td>
109 <td width="55%" align="left"><b>Definition</b></td>
111 <td width="15%" align="left"><b>Description</b></td>
117 <a name="metadata_type2849297114" id=
118 "metadata_type2849297114">metadata_type</a>
129 <p>Metadata type.</p>
131 <p>This can be any type; size_t is merely an example.</p>
136 <h2><a name="link4" id="link4">Protected Methods</a></h2>
138 <h3><a name="link5" id="link5">Conclassors, declassor, and
141 <table class="c1" width="100%" border="1" summary="Methods">
143 <td width="45%" align="left"><b>Method</b></td>
145 <td width="55%" align="left"><b>Description</b></td>
151 sample_trie_node_update
157 <p>Default constructor.</p>
159 <p>Must be default constructable.</p>
164 <h3><a name="link6" id="link6">Operators.</a></h3>
166 <table class="c1" width="100%" border="1" summary="Methods">
168 <td width="45%" align="left"><b>Method</b></td>
170 <td width="55%" align="left"><b>Description</b></td>
176 <b>inline</b> <b>void</b>
178 (node_iterator node_it,
179 const_node_iterator end_nd_it) <b>const</b>
184 <p>Updates the rank of a node through a <span class=
185 "c1"><tt>node_iterator</tt></span> <span class=
186 "c1"><tt>node_it</tt></span>; <span class=
187 "c1"><tt>end_nd_it</tt></span> is the end node