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/] [move_to_front_update_policy.html] - Rev 20
Compare with Previous | Blame | View Log
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>move_to_front_update_policy Interface </title> </head> <body> <h1> <tt>move_to_front_update_policy </tt> Interface </h1> <p>A list-update policy that unconditionally moves elements to the front of the list. </p> <ol> <li> <a href = "../../../../include/ext/pb_assoc/move_to_front_update_policy.hpp"><tt>move_to_front_update_policy.hpp</tt> </a> </li> <li> <a href = "#link1">Template parameters. </a> </li> <li> Public Methods: <ol> <li> <a href = "#link2">Constructors, destructor, and related. </a> </li> </ol> </li> <li> Protected Types and Constants: <ol> <li> <a href = "#link3">Metadata definitions. </a> </li> </ol> </li> <li> Protected Methods: <ol> <li> <a href = "#link4">Metadata operations. </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 = "Metadata_Reference3735929465">Metadata_Reference</a></pre> </td> <td> <p>Metadata reference type.</p> </td> <td> <pre>std::allocator< <a href = "move_to_front_update_metadata.html"><tt>move_to_front_update_metadata</tt></a>>:: reference </td> </tr> </table> <h2> <a name = "link2">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>void</b> swap (<font color = "olive">move_to_front_update_policy</font> &r_other)</pre> </td> <td> <p>Swaps content.</p> </td> </tr> </table> <h2> <a name = "link3">Metadata 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 = "metadata_type3735929937">metadata_type</a></pre> </td> <td> <pre><a href = "move_to_front_update_metadata.html"><tt>move_to_front_update_metadata</tt></a></pre> </td> <td> <p>Metadata on which this functor operates.</p> </td> </tr> <tr> <td> <pre><a name = "metadata_reference3735929497">metadata_reference</a></pre> </td> <td> <pre><a href = "#Metadata_Reference3735929465">Metadata_Reference</a></pre> </td> <td> <p>Reference to metadata on which this functor operates.</p> </td> </tr> </table> <h2> <a name = "link4">Metadata operations. </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 = "#metadata_type3735929937">metadata_type</a> <b>operator</b>() () <b>const</b></pre> </td> <td> <p>Creates a metadata object.</p> </td> </tr> <tr> <td> <pre><b>bool</b> <b>operator</b>() (<a href = "#metadata_reference3735929497">metadata_reference</a> r_data) <b>const</b></pre> </td> <td> <p>Decides whether a metadata object should be moved to the front of the list.</p> </td> </tr> </table> </body> </html>