123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446 |
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
- <title>Examples</title>
- <link rel="stylesheet" href="../boostbook.css" type="text/css">
- <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
- <link rel="home" href="../index.html" title="Chapter 1. Boost.Bimap">
- <link rel="up" href="../index.html" title="Chapter 1. Boost.Bimap">
- <link rel="prev" href="performance.html" title="Performance">
- <link rel="next" href="examples/simple_bimap.html" title="Simple Bimap">
- </head>
- <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
- <table cellpadding="2" width="100%"><tr>
- <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
- <td align="center"><a href="../../../../../index.html">Home</a></td>
- <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
- <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
- <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
- <td align="center"><a href="../../../../../more/index.htm">More</a></td>
- </tr></table>
- <hr>
- <div class="spirit-nav">
- <a accesskey="p" href="performance.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="examples/simple_bimap.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
- </div>
- <div class="section">
- <div class="titlepage"><div><div><h2 class="title" style="clear: both">
- <a name="boost_bimap.examples"></a><a class="link" href="examples.html" title="Examples">Examples</a>
- </h2></div></div></div>
- <div class="toc"><dl class="toc">
- <dt><span class="section"><a href="examples.html#boost_bimap.examples.examples_list">Examples list</a></span></dt>
- <dt><span class="section"><a href="examples/simple_bimap.html">Simple Bimap</a></span></dt>
- <dt><span class="section"><a href="examples/mighty_bimap.html">Mighty Bimap</a></span></dt>
- <dt><span class="section"><a href="examples/multiindex_to_bimap_path___bidirectional_map.html">MultiIndex
- to Bimap Path - Bidirectional Map</a></span></dt>
- <dt><span class="section"><a href="examples/multiindex_to_bimap_path___hashed_indices.html">MultiIndex
- to Bimap Path - Hashed indices</a></span></dt>
- </dl></div>
- <div class="section">
- <div class="titlepage"><div><div><h3 class="title">
- <a name="boost_bimap.examples.examples_list"></a><a class="link" href="examples.html#boost_bimap.examples.examples_list" title="Examples list">Examples list</a>
- </h3></div></div></div>
- <p>
- In the folder <a href="../../../example" target="_top">libs/bimap/example</a> you can
- find all the examples used in bimap documentation. Here is a list of them:
- </p>
- <div class="table">
- <a name="boost_bimap.examples.examples_list.t0"></a><p class="title"><b>Table 1.7. Tutorial examples</b></p>
- <div class="table-contents"><table class="table" summary="Tutorial examples">
- <colgroup>
- <col>
- <col>
- </colgroup>
- <thead><tr>
- <th>
- <p>
- Program
- </p>
- </th>
- <th>
- <p>
- Description
- </p>
- </th>
- </tr></thead>
- <tbody>
- <tr>
- <td>
- <p>
- <a href="../../../example/simple_bimap.cpp" target="_top">simple_bimap.cpp </a>
- </p>
- </td>
- <td>
- <p>
- Soccer world cup example
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/tagged_simple_bimap.cpp" target="_top">tagged_simple_bimap.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Soccer world cup example using user defined names
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/step_by_step.cpp" target="_top">step_by_step.cpp </a>
- </p>
- </td>
- <td>
- <p>
- Basic example of the three views of bimap
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/population_bimap.cpp" target="_top">population_bimap.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Countries populations, using <code class="computeroutput"><span class="identifier">unordered_set_of</span></code>
- and <code class="computeroutput"><span class="identifier">multiset_of</span></code>
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/repetitions_counter.cpp" target="_top">repetitions_counter.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Word repetitions counter, using <code class="computeroutput"><span class="identifier">unordered_set_of</span></code>
- and <code class="computeroutput"><span class="identifier">list_of</span></code>
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/mighty_bimap.cpp" target="_top">mighty_bimap.cpp </a>
- </p>
- </td>
- <td>
- <p>
- Dictionary using <code class="computeroutput"><span class="identifier">list_of_relation</span></code>
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/user_defined_names.cpp" target="_top">user_defined_names.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Equivalence between code with tagged and untagged code
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/standard_map_comparison.cpp" target="_top">standard_map_comparison.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Comparison between standard maps and bimap map views
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/at_function_examples.cpp" target="_top">at_function_examples.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Functions <code class="computeroutput"><span class="identifier">at</span><span class="special">(</span><span class="identifier">key</span><span class="special">)</span></code>
- and <code class="computeroutput"><span class="keyword">operator</span><span class="special">[](</span><span class="identifier">key</span><span class="special">)</span></code>
- examples
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/tutorial_modify_and_replace.cpp" target="_top">tutorial_modify_and_replace.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- <code class="computeroutput"><span class="identifier">modify</span></code> and <code class="computeroutput"><span class="identifier">replace</span></code> examples
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/tutorial_range.cpp" target="_top">tutorial_range.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- <code class="computeroutput"><span class="identifier">range</span><span class="special">()</span></code>
- tutorial
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/tutorial_info_hook.cpp" target="_top">tutorial_info_hook.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Additional information hooking
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/unconstrained_collection.cpp" target="_top">unconstrained_collection.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Using <code class="computeroutput"><span class="identifier">unconstrained_set_of</span></code>
- collection type
- </p>
- </td>
- </tr>
- </tbody>
- </table></div>
- </div>
- <br class="table-break"><div class="table">
- <a name="boost_bimap.examples.examples_list.t1"></a><p class="title"><b>Table 1.8. Bimap and Boost examples</b></p>
- <div class="table-contents"><table class="table" summary="Bimap and Boost examples">
- <colgroup>
- <col>
- <col>
- </colgroup>
- <thead><tr>
- <th>
- <p>
- Program
- </p>
- </th>
- <th>
- <p>
- Description
- </p>
- </th>
- </tr></thead>
- <tbody>
- <tr>
- <td>
- <p>
- <a href="../../../example/bimap_and_boost/assign.cpp" target="_top">assign.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Bimap and Boost.Assign: Methods to insert elements
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/bimap_and_boost/lambda.cpp" target="_top">lambda.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Bimap and Boost.Lambda: new lambda placeholders
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/bimap_and_boost/property_map.cpp" target="_top">property_map.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Bimap and Boost.PropertyMap: PropertyMap support
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/bimap_and_boost/range.cpp" target="_top">range.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Bimap and Boost.Range: Using bimaps in the new range framework
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/bimap_and_boost/foreach.cpp" target="_top">foreach.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Bimap and Boost.Foreach: Iterating over bimaps
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/bimap_and_boost/typeof.cpp" target="_top">typeof.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Bimap and Boost.Typeof: using BOOST_AUTO while we wait for C++0x
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/bimap_and_boost/xpressive.cpp" target="_top">xpressive.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Bimap and Boost.Xpressive: Inserting elements in a bimap
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/bimap_and_boost/serialization.cpp" target="_top">serialization.cpp:
- </a>
- </p>
- </td>
- <td>
- <p>
- Bimap and Boost.Serialization: Load and save bimaps and iterators
- </p>
- </td>
- </tr>
- </tbody>
- </table></div>
- </div>
- <br class="table-break"><div class="table">
- <a name="boost_bimap.examples.examples_list.t2"></a><p class="title"><b>Table 1.9. Boost.MultiIndex to Boost.Bimap path examples</b></p>
- <div class="table-contents"><table class="table" summary="Boost.MultiIndex to Boost.Bimap path examples">
- <colgroup>
- <col>
- <col>
- </colgroup>
- <thead><tr>
- <th>
- <p>
- Program
- </p>
- </th>
- <th>
- <p>
- Description
- </p>
- </th>
- </tr></thead>
- <tbody>
- <tr>
- <td>
- <p>
- <a href="../../../example/mi_to_b_path/bidirectional_map.cpp" target="_top">bidirectional_map.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Boost.MultiIndex to Boost.Bimap path example
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/mi_to_b_path/hashed_indices.cpp" target="_top">hashed_indices.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Boost.MultiIndex to Boost.Bimap path example
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- <a href="../../../example/mi_to_b_path/tagged_bidirectional_map.cpp" target="_top">tagged_bidirectional_map.cpp
- </a>
- </p>
- </td>
- <td>
- <p>
- Boost.MultiIndex to Boost.Bimap path example
- </p>
- </td>
- </tr>
- </tbody>
- </table></div>
- </div>
- <br class="table-break">
- </div>
- </div>
- <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
- <td align="left"></td>
- <td align="right"><div class="copyright-footer">Copyright © 2006-2012 Matias Capeletto<p>
- Distributed under the Boost Software License, Version 1.0. (See accompanying
- file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
- </p>
- </div></td>
- </tr></table>
- <hr>
- <div class="spirit-nav">
- <a accesskey="p" href="performance.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="examples/simple_bimap.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
- </div>
- </body>
- </html>
|