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>string_trie_e_access_traits Interface</title>
10 <meta http-equiv="Content-Type" content=
11 "text/html; charset=us-ascii" />
16 <h1><tt>string_trie_e_access_traits</tt> Interface</h1>
18 <p>Element access traits for string types.</p>
20 <p>Defined in: <a href=
21 "http://gcc.gnu.org/viewcvs/*checkout*/trunk/libstdc%2B%2B-v3/include/ext/pb_ds/trie_policy.hpp"><tt>trie_policy.hpp</tt></a></p>
23 <h2><a name="link1" id="link1">Template Parameters</a></h2>
25 <table class="c1" width="100%" border="1" summary=
26 "Template Parameters">
28 <td width="20%" align="left"><b>Parameter</b></td>
30 <td width="50%" align="left"><b>Description</b></td>
32 <td width="30%" align="left"><b>Default Value</b></td>
38 <a name="String349403" id="String349403"><b>class</b> String </a>
46 <td><tt>std::string</tt></td>
52 <a name="Min_E_Val40354618" id=
53 "Min_E_Val40354618"><b>typename</b> </a><a href=
54 "#String349403"><tt>String</tt></a>::value_type Min_E_Val
59 <p>Minimal element.</p>
62 <td><tt>SCHAR_MIN</tt></td>
68 <a name="Max_E_Val39885868" id=
69 "Max_E_Val39885868"><b>typename</b> </a><a href=
70 "#String349403"><tt>String</tt></a>::value_type Max_E_Val
75 <p>Maximal element.</p>
78 <td><tt>SCHAR_MAX</tt></td>
84 <a name="Reverse1686776" id=
85 "Reverse1686776"><b>bool</b> Reverse </a>
90 <p>Indicates whether reverse iteration should be
94 <td><tt><b>false</b></tt></td>
100 <a name="Allocator35940069" id=
101 "Allocator35940069"><b>class</b> Allocator </a>
106 <p>Allocator type.</p>
111 std::allocator<<b>char</b>>
117 <h2><a name="link2" id="link2">Public Types and
120 <h3><a name="link3" id="link3">General Definitions</a></h3>
122 <table class="c1" width="100%" border="1" summary="Types">
124 <td width="30%" align="left"><b>Type</b></td>
126 <td width="55%" align="left"><b>Definition</b></td>
128 <td width="15%" align="left"><b>Description</b></td>
134 <a name="size_type55424436" id="size_type55424436">size_type</a>
140 <b>typename</b> <a href=
141 "#Allocator35940069"><tt>Allocator</tt></a>::size_type
151 <h3><a name="link4" id="link4">Key-Type Definitions</a></h3>
153 <table class="c1" width="100%" border="1" summary="Types">
155 <td width="30%" align="left"><b>Type</b></td>
157 <td width="55%" align="left"><b>Definition</b></td>
159 <td width="15%" align="left"><b>Description</b></td>
165 <a name="key_type10393186" id="key_type10393186">key_type</a>
171 <a href="#String349403"><tt>String</tt></a>
183 <a name="const_key_reference3185471705" id=
184 "const_key_reference3185471705">const_key_reference</a>
190 <b>typename</b> <a href=
191 "#Allocator35940069"><tt>Allocator</tt></a>::<b>template</b> rebind<
193 "#key_type10393186"><tt>key_type</tt></a>>::other::const_reference
198 <p>Const key reference type.</p>
203 <h3><a name="link5" id="link5">Element-Type
206 <table class="c1" width="100%" border="1" summary="Types">
208 <td width="30%" align="left"><b>Type</b></td>
210 <td width="55%" align="left"><b>Definition</b></td>
212 <td width="15%" align="left"><b>Description</b></td>
218 <a name="reverse2186776" id="reverse2186776">reverse</a>
224 <a href="#Reverse1686776"><tt>Reverse</tt></a>
229 <p><a href="#Reverse1686776"><tt>Reverse</tt></a>
230 iteration indicator.</p>
237 <a name="const_iterator98626788" id=
238 "const_iterator98626788">const_iterator</a>
244 <b>typename</b> __gnu_pbds::detail::__conditional_type<
245 <a href="#Reverse1686776"><tt>Reverse</tt></a>,
246 <b>typename</b> <a href=
247 "#String349403"><tt>String</tt></a>::const_reverse_iterator,
248 <b>typename</b> <a href=
249 "#String349403"><tt>String</tt></a>::const_iterator>::__type
254 <p>Element <tt><b>const</b></tt> iterator type.</p>
261 <a name="e_type393186" id="e_type393186">e_type</a>
267 <b>typename</b> std::iterator_traits<<a href=
268 "#const_iterator98626788"><tt>const_iterator</tt></a>>::value_type
280 <a name="min_e_val52875418" id="min_e_val52875418">min_e_val</a>
286 <a href="#Min_E_Val40354618"><tt>Min_E_Val</tt></a>
291 <p>Minimal element.</p>
298 <a name="max_e_val52406668" id="max_e_val52406668">max_e_val</a>
304 <a href="#Max_E_Val39885868"><tt>Max_E_Val</tt></a>
309 <p>Maximal element.</p>
316 <a name="max_size10483336" id="max_size10483336">max_size</a>
322 <a href="#max_e_val52406668"><tt>max_e_val</tt></a> - <a href=
323 "#min_e_val52875418"><tt>min_e_val</tt></a> + 1
328 <p>Number of distinct elements.</p>
333 <h2><a name="link6" id="link6">Public Methods</a></h2>
335 <h3><a name="link7" id="link7">Access Methods</a></h3>
337 <table class="c1" width="100%" border="1" summary="Methods">
339 <td width="45%" align="left"><b>Method</b></td>
341 <td width="55%" align="left"><b>Description</b></td>
347 <b>inline</b> <b>static</b> <a href=
348 "#const_iterator98626788"><tt>const_iterator</tt></a>
351 "#const_key_reference3185471705"><tt>const_key_reference</tt></a> r_key)
356 <p>Returns a <a href=
357 "#const_iterator98626788"><tt>const_iterator</tt></a> to
358 the first element of <span class=
359 "c1"><tt>r_key</tt></span>.</p>
366 <b>inline</b> <b>static</b> <a href=
367 "#const_iterator98626788"><tt>const_iterator</tt></a>
370 "#const_key_reference3185471705"><tt>const_key_reference</tt></a> r_key)
375 <p>Returns a <a href=
376 "#const_iterator98626788"><tt>const_iterator</tt></a> to
377 the after-last element of <span class=
378 "c1"><tt>r_key</tt></span>.</p>
385 <b>inline</b> <b>static</b> <a href=
386 "#size_type55424436"><tt>size_type</tt></a>
388 (<a href="#e_type393186"><tt>e_type</tt></a> e)
393 <p>Maps an <span class="c1"><tt>e</tt></span>element to a