2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
7 <title>basic_hash_assoc_cntnr Interface
14 <tt>basic_hash_assoc_cntnr
22 <p>A basic hash-based associative container.
27 <a href = "../../../../include/ext/pb_assoc/assoc_cntnr.hpp"><tt>assoc_cntnr.hpp</tt>
33 <a href = "#link1">Template parameters.
39 <a href = "#link2">Base classes.
45 Public Types and Constants:
50 <a href = "#link3">Policy definitions.
65 <a href = "#link4">Constructors, destructor, and related.
71 <a href = "#link5">Policy access methods.
86 <a href = "#link6">Resize methods.
99 <a name = "link1">Template parameters.
104 <table WIDTH = "100%" BORDER = "1">
105 <TR><TD Width = "20%" ALIGN = "left"><b>Parameter</b></TD><TD Width = "50%" ALIGN = "left"><b>Description</b></TD><TD Width = "30%" ALIGN = "left"><b>Default Value</b></TD></TR>
110 <pre><a name = "Key3735928856">Key</a></pre>
131 <pre><a name = "Data3735928937">Data</a></pre>
152 <pre><a name = "Hash_Fn3735929222">Hash_Fn</a></pre>
173 <pre><a name = "Eq_Fn3735929016">Eq_Fn</a></pre>
179 <p>Equivalence functor.</p>
194 <pre><a name = "Resize_Policy3735929904">Resize_Policy</a></pre>
200 <p>Resize policy.</p>
215 <pre><a name = "Store_Hash3735929567">Store_Hash</a></pre>
221 <p>Indicates whether the hash value will be stored along with each key.</p>
236 <pre><a name = "DS_Tag,3735929133">DS_Tag,</a></pre>
242 <p>Data-structure tag.</p>
257 <pre><a name = "Allocator3735929488">Allocator</a></pre>
263 <p>Allocator type.</p>
279 <a name = "link2">Base classes.
284 <table WIDTH = "100%" BORDER = "1">
285 <TR><TD Width = "80%" ALIGN = "left"><b>Class</b></TD><TD Width = "20%" ALIGN = "left"><b>Derivation Type</b></TD></TR>
290 <pre><a href = "#Resize_Policy3735929904">Resize_Policy</a></pre>
305 <pre><a href = "#Hash_Fn3735929222">Hash_Fn</a></pre>
320 <pre>Depending on <a href = "#Data3735928937">Data</a>:<ol> <li> <a href = "null_data_type.html"><tt>null_data_type</tt></a> - <a href = "basic_assoc_cntnr_no_data.html"><tt>basic_assoc_cntnr</tt></a> "set" specialization </li> <li> <a href = "compound_data_type.html"><tt>compound_data_type</tt></a><tt><Container></tt> - <a href = "basic_assoc_cntnr_compound_data.html"><tt>basic_assoc_cntnr</tt></a> "multimap" specialization </li> <li> Other - <a href = "basic_assoc_cntnr.html"><tt>basic_assoc_cntnr</tt></a> "map" specialization </li></ol></pre>
336 <a name = "link3">Policy definitions.
341 <table WIDTH = "100%" BORDER = "1">
342 <TR><TD Width = "30%" ALIGN = "left"><b>Type</b></TD><TD Width = "55%" ALIGN = "left"><b>Definition</b></TD><TD Width = "15%" ALIGN = "left"><b>Description</b></TD></TR>
347 <pre><a name = "hash_fn3735929286">hash_fn</a></pre>
353 <pre><a href = "#Hash_Fn3735929222">Hash_Fn</a></pre>
359 <p>Hash functor type.</p>
368 <pre><a name = "eq_fn3735929080">eq_fn</a></pre>
374 <pre><a href = "#Eq_Fn3735929016">Eq_Fn</a></pre>
380 <p>Equivalence functor type.</p>
389 <pre><a name = "resize_policy3735929968">resize_policy</a></pre>
395 <pre><a href = "#Resize_Policy3735929904">Resize_Policy</a></pre>
401 <p>Resize policy type.</p>
410 <pre><a name = "store_hash3735929631">store_hash</a></pre>
416 <pre><a href = "#Store_Hash3735929567">Store_Hash</a></pre>
422 <p>Indicates whether a hash value is stored with each entry.</p>
432 <a name = "link4">Constructors, destructor, and related.
437 <table WIDTH = "100%" BORDER = "1">
438 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
444 ~basic_hash_assoc_cntnr
461 <a name = "link5">Policy access methods.
466 <table WIDTH = "100%" BORDER = "1">
467 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
472 <pre><a href = "#hash_fn3735929286">hash_fn</a> &
480 <p>Access to the <a href = "#hash_fn3735929286"><tt>hash_fn</tt></a> object.</p>
489 <pre><b>const</b> <a href = "#hash_fn3735929286">hash_fn</a> &
491 () <b>const</b></pre>
497 <p>Const access to the <a href = "#hash_fn3735929286"><tt>hash_fn</tt></a> object.</p>
506 <pre><a href = "#eq_fn3735929080">eq_fn</a> &
514 <p>Access to the <a href = "#eq_fn3735929080"><tt>eq_fn</tt></a> object.</p>
523 <pre><b>const</b> <a href = "#eq_fn3735929080">eq_fn</a> &
525 () <b>const</b></pre>
531 <p>Const access to the <a href = "#eq_fn3735929080"><tt>eq_fn</tt></a> object.</p>
540 <pre><a href = "#Resize_Policy3735929904">Resize_Policy</a> &
548 <p>Access to the <a href = "#resize_policy3735929968"><tt>resize_policy</tt></a> object.</p>
557 <pre><b>const</b> <a href = "#resize_policy3735929968">resize_policy</a> &
559 () <b>const</b></pre>
565 <p>Const access to the <a href = "#resize_policy3735929968"><tt>resize_policy</tt></a> object.</p>
575 <a name = "link6">Resize methods.
580 <table WIDTH = "100%" BORDER = "1">
581 <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
586 <pre><b>virtual</b> <b>void</b>
588 (size_type new_size)</pre>
594 <p>Resizes the container object to <font color = "#666666"><tt>new_size</tt></font>.</p>