URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libstdc++-v3/] [docs/] [html/] [ext/] [pb_assoc/] [basic_hash_assoc_cntnr.html] - Rev 20
Compare with Previous | Blame | View Log
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>basic_hash_assoc_cntnr Interface </title> </head> <body> <h1> <tt>basic_hash_assoc_cntnr </tt> Interface </h1> <p>A basic hash-based associative container. </p> <ol> <li> <a href = "../../../../include/ext/pb_assoc/assoc_cntnr.hpp"><tt>assoc_cntnr.hpp</tt> </a> </li> <li> <a href = "#link1">Template parameters. </a> </li> <li> <a href = "#link2">Base classes. </a> </li> <li> Public Types and Constants: <ol> <li> <a href = "#link3">Policy definitions. </a> </li> </ol> </li> <li> Public Methods: <ol> <li> <a href = "#link4">Constructors, destructor, and related. </a> </li> <li> <a href = "#link5">Policy access methods. </a> </li> </ol> </li> <li> Protected Methods: <ol> <li> <a href = "#link6">Resize methods. </a> </li> </ol> </li> </ol> <h2> <a name = "link1">Template parameters. </a> </h2> <table WIDTH = "100%" BORDER = "1"> <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> <tr> <td> <pre><a name = "Key3735928856">Key</a></pre> </td> <td> <p>Key type.</p> </td> <td> - </td> </tr> <tr> <td> <pre><a name = "Data3735928937">Data</a></pre> </td> <td> <p>Data type.</p> </td> <td> - </td> </tr> <tr> <td> <pre><a name = "Hash_Fn3735929222">Hash_Fn</a></pre> </td> <td> <p>Hash functor.</p> </td> <td> - </td> </tr> <tr> <td> <pre><a name = "Eq_Fn3735929016">Eq_Fn</a></pre> </td> <td> <p>Equivalence functor.</p> </td> <td> - </td> </tr> <tr> <td> <pre><a name = "Resize_Policy3735929904">Resize_Policy</a></pre> </td> <td> <p>Resize policy.</p> </td> <td> - </td> </tr> <tr> <td> <pre><a name = "Store_Hash3735929567">Store_Hash</a></pre> </td> <td> <p>Indicates whether the hash value will be stored along with each key.</p> </td> <td> - </td> </tr> <tr> <td> <pre><a name = "DS_Tag,3735929133">DS_Tag,</a></pre> </td> <td> <p>Data-structure tag.</p> </td> <td> - </td> </tr> <tr> <td> <pre><a name = "Allocator3735929488">Allocator</a></pre> </td> <td> <p>Allocator type.</p> </td> <td> - </td> </tr> </table> <h2> <a name = "link2">Base classes. </a> </h2> <table WIDTH = "100%" BORDER = "1"> <TR><TD Width = "80%" ALIGN = "left"><b>Class</b></TD><TD Width = "20%" ALIGN = "left"><b>Derivation Type</b></TD></TR> <tr> <td> <pre><a href = "#Resize_Policy3735929904">Resize_Policy</a></pre> </td> <td> <p>public</p> </td> </tr> <tr> <td> <pre><a href = "#Hash_Fn3735929222">Hash_Fn</a></pre> </td> <td> <p>public</p> </td> </tr> <tr> <td> <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> </td> <td> <p>public</p> </td> </tr> </table> <h2> <a name = "link3">Policy definitions. </a> </h2> <table WIDTH = "100%" BORDER = "1"> <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> <tr> <td> <pre><a name = "hash_fn3735929286">hash_fn</a></pre> </td> <td> <pre><a href = "#Hash_Fn3735929222">Hash_Fn</a></pre> </td> <td> <p>Hash functor type.</p> </td> </tr> <tr> <td> <pre><a name = "eq_fn3735929080">eq_fn</a></pre> </td> <td> <pre><a href = "#Eq_Fn3735929016">Eq_Fn</a></pre> </td> <td> <p>Equivalence functor type.</p> </td> </tr> <tr> <td> <pre><a name = "resize_policy3735929968">resize_policy</a></pre> </td> <td> <pre><a href = "#Resize_Policy3735929904">Resize_Policy</a></pre> </td> <td> <p>Resize policy type.</p> </td> </tr> <tr> <td> <pre><a name = "store_hash3735929631">store_hash</a></pre> </td> <td> <pre><a href = "#Store_Hash3735929567">Store_Hash</a></pre> </td> <td> <p>Indicates whether a hash value is stored with each entry.</p> </td> </tr> </table> <h2> <a name = "link4">Constructors, destructor, and related. </a> </h2> <table WIDTH = "100%" BORDER = "1"> <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR> <tr> <td> <pre><b>virtual</b> ~basic_hash_assoc_cntnr ()</pre> </td> <td> <p>Destructor.</p> </td> </tr> </table> <h2> <a name = "link5">Policy access methods. </a> </h2> <table WIDTH = "100%" BORDER = "1"> <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR> <tr> <td> <pre><a href = "#hash_fn3735929286">hash_fn</a> & get_hash_fn ()</pre> </td> <td> <p>Access to the <a href = "#hash_fn3735929286"><tt>hash_fn</tt></a> object.</p> </td> </tr> <tr> <td> <pre><b>const</b> <a href = "#hash_fn3735929286">hash_fn</a> & get_hash_fn () <b>const</b></pre> </td> <td> <p>Const access to the <a href = "#hash_fn3735929286"><tt>hash_fn</tt></a> object.</p> </td> </tr> <tr> <td> <pre><a href = "#eq_fn3735929080">eq_fn</a> & get_eq_fn ()</pre> </td> <td> <p>Access to the <a href = "#eq_fn3735929080"><tt>eq_fn</tt></a> object.</p> </td> </tr> <tr> <td> <pre><b>const</b> <a href = "#eq_fn3735929080">eq_fn</a> & get_eq_fn () <b>const</b></pre> </td> <td> <p>Const access to the <a href = "#eq_fn3735929080"><tt>eq_fn</tt></a> object.</p> </td> </tr> <tr> <td> <pre><a href = "#Resize_Policy3735929904">Resize_Policy</a> & get_resize_policy ()</pre> </td> <td> <p>Access to the <a href = "#resize_policy3735929968"><tt>resize_policy</tt></a> object.</p> </td> </tr> <tr> <td> <pre><b>const</b> <a href = "#resize_policy3735929968">resize_policy</a> & get_resize_policy () <b>const</b></pre> </td> <td> <p>Const access to the <a href = "#resize_policy3735929968"><tt>resize_policy</tt></a> object.</p> </td> </tr> </table> <h2> <a name = "link6">Resize methods. </a> </h2> <table WIDTH = "100%" BORDER = "1"> <TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR> <tr> <td> <pre><b>virtual</b> <b>void</b> do_resize (size_type new_size)</pre> </td> <td> <p>Resizes the container object to <font color = "#666666"><tt>new_size</tt></font>.</p> </td> </tr> </table> </body> </html>