Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 5448

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>mrpt::utils::bimap Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
          <div class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </div><div class="right"></div>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a>      </li>
      <li class="navelem"><a class="el" href="namespacemrpt_1_1utils.html">utils</a>      </li>
      <li class="navelem"><a class="el" href="classmrpt_1_1utils_1_1bimap.html">bimap</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">mrpt::utils::bimap Class Reference<div class="ingroups"><a class="el" href="group__stlext__grp.html">STL extensions and metaprogramming</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="mrpt::utils::bimap" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A bidirectional version of <a class="el" href="classstd_1_1map.html" title="STL class.">std::map</a>, declared as bimap&lt;KEY,VALUE&gt; and which actually contains two <a class="el" href="classstd_1_1map.html" title="STL class.">std::map</a>'s, one for keys and another for values. </p>
<p>To use this class, insert new pairs KEY&lt;-&gt;VALUE with <a class="el" href="classmrpt_1_1utils_1_1bimap.html#af21e6b0fcd4c2046adf6e6a9a9b3c997" title="Insert a new pair KEY&lt;-&gt;VALUE in the bi-map.">bimap::insert</a>. Then, you can access the KEY-&gt;VALUE map with <a class="el" href="classmrpt_1_1utils_1_1bimap.html#aa68cdfc2e863ee026da6cd1f3fc96a04" title="Get the value associated the given key, KEY-&gt;VALUE, returning false if not present.">bimap::direct()</a>, and the VALUE-&gt;KEY map with <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a706c259c424dafabba5cd8c94fc8880c" title="Get the key associated the given value, VALUE-&gt;KEY, returning false if not present.">bimap::inverse()</a>. The consistency of the two internal maps is assured at any time.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>This class can be accessed through iterators to the map KEY-&gt;VALUE only. </dd>
<dd>
Both typenames KEY and VALUE must be suitable for being employed as keys in a <a class="el" href="classstd_1_1map.html" title="STL class.">std::map</a>, i.e. they must be comparable through a "&lt; operator". </dd></dl>
</div>
<p><code>#include &lt;<a class="el" href="bimap_8h_source.html">mrpt/utils/bimap.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mrpt::utils::bimap:</div>
<div class="dyncontent">
<div class="center"><img src="classmrpt_1_1utils_1_1bimap__inherit__graph.png" border="0" usemap="#mrpt_1_1utils_1_1bimap_inherit__map" alt="Inheritance graph"/></div>
<map name="mrpt_1_1utils_1_1bimap_inherit__map" id="mrpt_1_1utils_1_1bimap_inherit__map">
<area shape="rect" id="node3" href="classmrpt_1_1utils_1_1bimap.html" title="mrpt::utils::bimap\&lt; CLandmark::TLandmarkID, unsigned int \&gt;" alt="" coords="5,96,384,123"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classmrpt_1_1utils_1_1bimap-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classstd_1_1map.html">std::map</a>&lt; KEY, VALUE &gt;<br class="typebreak"/>
::<a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classstd_1_1map.html">std::map</a>&lt; KEY, VALUE &gt;<br class="typebreak"/>
::<a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classstd_1_1map.html">std::map</a>&lt; VALUE, KEY &gt;<br class="typebreak"/>
::<a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a5ecbad80faf46de379067c97f6be8938">const_iterator_inverse</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classstd_1_1map.html">std::map</a>&lt; VALUE, KEY &gt;<br class="typebreak"/>
::<a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a2bea8b78ca254b1671bbfcf6cec83de3">iterator_inverse</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aa4da9e550e762ba0382af1ad8a8cabc4">bimap</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor - does nothing.  <a href="#aa4da9e550e762ba0382af1ad8a8cabc4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aaf33b7ca2530da87e6071815808facb2">begin</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aa1b96edf3c0923f9e70c8eaa122e6d64">begin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a9c373f3bbc80648b51e35027a7c0605f">end</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a99e349e5013ce5485f6d786b723f5861">end</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a5ecbad80faf46de379067c97f6be8938">const_iterator_inverse</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#ae319e38c1fa54911fc287a9c8cf31cbd">inverse_begin</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a2bea8b78ca254b1671bbfcf6cec83de3">iterator_inverse</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#ac5d4d716282fa60d80d282ddaec2abe4">inverse_begin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a5ecbad80faf46de379067c97f6be8938">const_iterator_inverse</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3e38ca219ec0b48f79841344635bbd8e">inverse_end</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a2bea8b78ca254b1671bbfcf6cec83de3">iterator_inverse</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a27c7e18960b485716e8cb61e2c9ac8ed">inverse_end</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a818bc3c02d6183ccfad5bb1f62788cc6">size</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a9ecb20d97f05c3a6f715d8ed4c22cd73">empty</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classstd_1_1map.html">std::map</a>&lt; KEY, VALUE &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#ab8ae7877b0e79b7f786b6385bf5c48ee">getDirectMap</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a read-only reference to the internal map KEY-&gt;VALUES.  <a href="#ab8ae7877b0e79b7f786b6385bf5c48ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classstd_1_1map.html">std::map</a>&lt; VALUE, KEY &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a13857f8bc4ca7b363fa8813e231970ec">getInverseMap</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a read-only reference to the internal map KEY-&gt;VALUES.  <a href="#a13857f8bc4ca7b363fa8813e231970ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#af333e036ec9f7b3d623b44d523825c0c">clear</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#af21e6b0fcd4c2046adf6e6a9a9b3c997">insert</a> (const KEY &amp;k, const VALUE &amp;v)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert a new pair KEY&lt;-&gt;VALUE in the bi-map.  <a href="#af21e6b0fcd4c2046adf6e6a9a9b3c997"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aa68cdfc2e863ee026da6cd1f3fc96a04">direct</a> (const KEY &amp;k, VALUE &amp;out_v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value associated the given key, KEY-&gt;VALUE, returning false if not present.  <a href="#aa68cdfc2e863ee026da6cd1f3fc96a04"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a99d33a4bb732b79cbd69eab30509a43d">hasKey</a> (const KEY &amp;k) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the given key 'k' is in the bi-map.  <a href="#a99d33a4bb732b79cbd69eab30509a43d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a739091bff62c4e64f9879d325c821bfa">hasValue</a> (const VALUE &amp;v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the given value 'v' is in the bi-map.  <a href="#a739091bff62c4e64f9879d325c821bfa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">VALUE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a789eabb3a4eedc959bef38368fae7680">direct</a> (const KEY &amp;k) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value associated the given key, KEY-&gt;VALUE, raising an exception if not present.  <a href="#a789eabb3a4eedc959bef38368fae7680"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a706c259c424dafabba5cd8c94fc8880c">inverse</a> (const VALUE &amp;v, KEY &amp;out_k) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the key associated the given value, VALUE-&gt;KEY, returning false if not present.  <a href="#a706c259c424dafabba5cd8c94fc8880c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">KEY&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#ac3d50883322f38480991099ff100f84b">inverse</a> (const VALUE &amp;v) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the key associated the given value, VALUE-&gt;KEY, raising an exception if not present.  <a href="#ac3d50883322f38480991099ff100f84b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a22f5811ad60ba92378fe165a4c2ddc2b">find_key</a> (const KEY &amp;k) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a547aa84877f29a6824aa5ddd428f66a0">find_key</a> (const KEY &amp;k)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a5ecbad80faf46de379067c97f6be8938">const_iterator_inverse</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a554ec5819137db3efdea6e545196c64e">find_value</a> (const VALUE &amp;v) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a2bea8b78ca254b1671bbfcf6cec83de3">iterator_inverse</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#afa641ea5c306aef4f12641db43edacdd">find_value</a> (const VALUE &amp;v)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1map.html">std::map</a>&lt; KEY, VALUE &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a4830ba126643e43aa6b136e8b3c35383">m_k2v</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1map.html">std::map</a>&lt; VALUE, KEY &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#ae863313ab920010dce058f3fc82519a0">m_v2k</a></td></tr>
</table>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a3762626b5b3745734c605ceba9297788"></a><!-- doxytag: member="mrpt::utils::bimap::const_iterator" ref="a3762626b5b3745734c605ceba9297788" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classstd_1_1map.html">std::map</a>&lt;KEY,VALUE&gt;::<a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a> <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">mrpt::utils::bimap::const_iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00055">55</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5ecbad80faf46de379067c97f6be8938"></a><!-- doxytag: member="mrpt::utils::bimap::const_iterator_inverse" ref="a5ecbad80faf46de379067c97f6be8938" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classstd_1_1map.html">std::map</a>&lt;VALUE,KEY&gt;::<a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a> <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a5ecbad80faf46de379067c97f6be8938">mrpt::utils::bimap::const_iterator_inverse</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00058">58</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="aea0fcb7d855782a99582602f6cfdd150"></a><!-- doxytag: member="mrpt::utils::bimap::iterator" ref="aea0fcb7d855782a99582602f6cfdd150" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classstd_1_1map.html">std::map</a>&lt;KEY,VALUE&gt;::<a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a> <a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">mrpt::utils::bimap::iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00056">56</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2bea8b78ca254b1671bbfcf6cec83de3"></a><!-- doxytag: member="mrpt::utils::bimap::iterator_inverse" ref="a2bea8b78ca254b1671bbfcf6cec83de3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classstd_1_1map.html">std::map</a>&lt;VALUE,KEY&gt;::<a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a> <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a2bea8b78ca254b1671bbfcf6cec83de3">mrpt::utils::bimap::iterator_inverse</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00059">59</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa4da9e550e762ba0382af1ad8a8cabc4"></a><!-- doxytag: member="mrpt::utils::bimap::bimap" ref="aa4da9e550e762ba0382af1ad8a8cabc4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mrpt::utils::bimap::bimap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default constructor - does nothing. </p>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00062">62</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaf33b7ca2530da87e6071815808facb2"></a><!-- doxytag: member="mrpt::utils::bimap::begin" ref="aaf33b7ca2530da87e6071815808facb2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a> mrpt::utils::bimap::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00064">64</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa1b96edf3c0923f9e70c8eaa122e6d64"></a><!-- doxytag: member="mrpt::utils::bimap::begin" ref="aa1b96edf3c0923f9e70c8eaa122e6d64" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a> mrpt::utils::bimap::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00065">65</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="af333e036ec9f7b3d623b44d523825c0c"></a><!-- doxytag: member="mrpt::utils::bimap::clear" ref="af333e036ec9f7b3d623b44d523825c0c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::utils::bimap::clear </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00082">82</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa68cdfc2e863ee026da6cd1f3fc96a04"></a><!-- doxytag: member="mrpt::utils::bimap::direct" ref="aa68cdfc2e863ee026da6cd1f3fc96a04" args="(const KEY &amp;k, VALUE &amp;out_v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mrpt::utils::bimap::direct </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">VALUE &amp;&#160;</td>
          <td class="paramname"><em>out_v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the value associated the given key, KEY-&gt;VALUE, returning false if not present. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a706c259c424dafabba5cd8c94fc8880c" title="Get the key associated the given value, VALUE-&gt;KEY, returning false if not present.">inverse</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a99d33a4bb732b79cbd69eab30509a43d" title="Return true if the given key &#39;k&#39; is in the bi-map.">hasKey</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a739091bff62c4e64f9879d325c821bfa" title="Return true if the given value &#39;v&#39; is in the bi-map.">hasValue</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>false on key not found. </dd></dl>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00099">99</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a789eabb3a4eedc959bef38368fae7680"></a><!-- doxytag: member="mrpt::utils::bimap::direct" ref="a789eabb3a4eedc959bef38368fae7680" args="(const KEY &amp;k) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VALUE mrpt::utils::bimap::direct </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>k</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the value associated the given key, KEY-&gt;VALUE, raising an exception if not present. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a706c259c424dafabba5cd8c94fc8880c" title="Get the key associated the given value, VALUE-&gt;KEY, returning false if not present.">inverse</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a99d33a4bb732b79cbd69eab30509a43d" title="Return true if the given key &#39;k&#39; is in the bi-map.">hasKey</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a739091bff62c4e64f9879d325c821bfa" title="Return true if the given value &#39;v&#39; is in the bi-map.">hasValue</a> </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classstd_1_1exception.html" title="STL class.">std::exception</a></td><td>On key not present in the bi-map. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00120">120</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9ecb20d97f05c3a6f715d8ed4c22cd73"></a><!-- doxytag: member="mrpt::utils::bimap::empty" ref="a9ecb20d97f05c3a6f715d8ed4c22cd73" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mrpt::utils::bimap::empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00075">75</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9c373f3bbc80648b51e35027a7c0605f"></a><!-- doxytag: member="mrpt::utils::bimap::end" ref="a9c373f3bbc80648b51e35027a7c0605f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a> mrpt::utils::bimap::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00066">66</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a99e349e5013ce5485f6d786b723f5861"></a><!-- doxytag: member="mrpt::utils::bimap::end" ref="a99e349e5013ce5485f6d786b723f5861" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a> mrpt::utils::bimap::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00067">67</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a22f5811ad60ba92378fe165a4c2ddc2b"></a><!-- doxytag: member="mrpt::utils::bimap::find_key" ref="a22f5811ad60ba92378fe165a4c2ddc2b" args="(const KEY &amp;k) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a3762626b5b3745734c605ceba9297788">const_iterator</a> mrpt::utils::bimap::find_key </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>k</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00151">151</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a547aa84877f29a6824aa5ddd428f66a0"></a><!-- doxytag: member="mrpt::utils::bimap::find_key" ref="a547aa84877f29a6824aa5ddd428f66a0" args="(const KEY &amp;k)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aea0fcb7d855782a99582602f6cfdd150">iterator</a> mrpt::utils::bimap::find_key </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>k</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00152">152</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a554ec5819137db3efdea6e545196c64e"></a><!-- doxytag: member="mrpt::utils::bimap::find_value" ref="a554ec5819137db3efdea6e545196c64e" args="(const VALUE &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a5ecbad80faf46de379067c97f6be8938">const_iterator_inverse</a> mrpt::utils::bimap::find_value </td>
          <td>(</td>
          <td class="paramtype">const VALUE &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00154">154</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="afa641ea5c306aef4f12641db43edacdd"></a><!-- doxytag: member="mrpt::utils::bimap::find_value" ref="afa641ea5c306aef4f12641db43edacdd" args="(const VALUE &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a2bea8b78ca254b1671bbfcf6cec83de3">iterator_inverse</a> mrpt::utils::bimap::find_value </td>
          <td>(</td>
          <td class="paramtype">const VALUE &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00155">155</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab8ae7877b0e79b7f786b6385bf5c48ee"></a><!-- doxytag: member="mrpt::utils::bimap::getDirectMap" ref="ab8ae7877b0e79b7f786b6385bf5c48ee" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classstd_1_1map.html">std::map</a>&lt;KEY,VALUE&gt;&amp; mrpt::utils::bimap::getDirectMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a read-only reference to the internal map KEY-&gt;VALUES. </p>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00078">78</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a13857f8bc4ca7b363fa8813e231970ec"></a><!-- doxytag: member="mrpt::utils::bimap::getInverseMap" ref="a13857f8bc4ca7b363fa8813e231970ec" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classstd_1_1map.html">std::map</a>&lt;VALUE,KEY&gt;&amp; mrpt::utils::bimap::getInverseMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a read-only reference to the internal map KEY-&gt;VALUES. </p>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00080">80</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a99d33a4bb732b79cbd69eab30509a43d"></a><!-- doxytag: member="mrpt::utils::bimap::hasKey" ref="a99d33a4bb732b79cbd69eab30509a43d" args="(const KEY &amp;k) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mrpt::utils::bimap::hasKey </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>k</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return true if the given key 'k' is in the bi-map. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a739091bff62c4e64f9879d325c821bfa" title="Return true if the given value &#39;v&#39; is in the bi-map.">hasValue</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#aa68cdfc2e863ee026da6cd1f3fc96a04" title="Get the value associated the given key, KEY-&gt;VALUE, returning false if not present.">direct</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a706c259c424dafabba5cd8c94fc8880c" title="Get the key associated the given value, VALUE-&gt;KEY, returning false if not present.">inverse</a> </dd></dl>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00108">108</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a739091bff62c4e64f9879d325c821bfa"></a><!-- doxytag: member="mrpt::utils::bimap::hasValue" ref="a739091bff62c4e64f9879d325c821bfa" args="(const VALUE &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mrpt::utils::bimap::hasValue </td>
          <td>(</td>
          <td class="paramtype">const VALUE &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return true if the given value 'v' is in the bi-map. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a99d33a4bb732b79cbd69eab30509a43d" title="Return true if the given key &#39;k&#39; is in the bi-map.">hasKey</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#aa68cdfc2e863ee026da6cd1f3fc96a04" title="Get the value associated the given key, KEY-&gt;VALUE, returning false if not present.">direct</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a706c259c424dafabba5cd8c94fc8880c" title="Get the key associated the given value, VALUE-&gt;KEY, returning false if not present.">inverse</a> </dd></dl>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00112">112</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="af21e6b0fcd4c2046adf6e6a9a9b3c997"></a><!-- doxytag: member="mrpt::utils::bimap::insert" ref="af21e6b0fcd4c2046adf6e6a9a9b3c997" args="(const KEY &amp;k, const VALUE &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrpt::utils::bimap::insert </td>
          <td>(</td>
          <td class="paramtype">const KEY &amp;&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const VALUE &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Insert a new pair KEY&lt;-&gt;VALUE in the bi-map. </p>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00089">89</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

<p>Referenced by <a class="el" href="_c_height_grid_map2_d_8h_source.html#l00260">mrpt::utils::TEnumTypeFiller&lt; slam::CHeightGridMap2D::TMapRepresentation &gt;::fill()</a>, <a class="el" href="_c_kalman_filter_capable_8h_source.html#l01659">mrpt::utils::TEnumTypeFiller&lt; bayes::TKFMethod &gt;::fill()</a>, <a class="el" href="_c_kinect_8h_source.html#l00400">mrpt::utils::TEnumTypeFiller&lt; hwdrivers::CKinect::TVideoChannel &gt;::fill()</a>, <a class="el" href="_c_multi_metric_map_8h_source.html#l00670">mrpt::utils::TEnumTypeFiller&lt; slam::CMultiMetricMap::TOptions::TMapSelectionForLikelihood &gt;::fill()</a>, <a class="el" href="_c_pose3_d_interpolator_8h_source.html#l00228">mrpt::utils::TEnumTypeFiller&lt; poses::CPose3DInterpolator::TInterpolatorMethod &gt;::fill()</a>, <a class="el" href="_c_random_field_grid_map2_d_8h_source.html#l00354">mrpt::utils::TEnumTypeFiller&lt; slam::CRandomFieldGridMap2D::TMapRepresentation &gt;::fill()</a>, <a class="el" href="data__association_8h_source.html#l00190">mrpt::utils::TEnumTypeFiller&lt; slam::TDataAssociationMethod &gt;::fill()</a>, and <a class="el" href="data__association_8h_source.html#l00201">mrpt::utils::TEnumTypeFiller&lt; slam::TDataAssociationMetric &gt;::fill()</a>.</p>

</div>
</div>
<a class="anchor" id="a706c259c424dafabba5cd8c94fc8880c"></a><!-- doxytag: member="mrpt::utils::bimap::inverse" ref="a706c259c424dafabba5cd8c94fc8880c" args="(const VALUE &amp;v, KEY &amp;out_k) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mrpt::utils::bimap::inverse </td>
          <td>(</td>
          <td class="paramtype">const VALUE &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">KEY &amp;&#160;</td>
          <td class="paramname"><em>out_k</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the key associated the given value, VALUE-&gt;KEY, returning false if not present. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aa68cdfc2e863ee026da6cd1f3fc96a04" title="Get the value associated the given key, KEY-&gt;VALUE, returning false if not present.">direct</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a99d33a4bb732b79cbd69eab30509a43d" title="Return true if the given key &#39;k&#39; is in the bi-map.">hasKey</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a739091bff62c4e64f9879d325c821bfa" title="Return true if the given value &#39;v&#39; is in the bi-map.">hasValue</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>false on value not found. </dd></dl>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00131">131</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac3d50883322f38480991099ff100f84b"></a><!-- doxytag: member="mrpt::utils::bimap::inverse" ref="ac3d50883322f38480991099ff100f84b" args="(const VALUE &amp;v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KEY mrpt::utils::bimap::inverse </td>
          <td>(</td>
          <td class="paramtype">const VALUE &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the key associated the given value, VALUE-&gt;KEY, raising an exception if not present. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classmrpt_1_1utils_1_1bimap.html#aa68cdfc2e863ee026da6cd1f3fc96a04" title="Get the value associated the given key, KEY-&gt;VALUE, returning false if not present.">direct</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a99d33a4bb732b79cbd69eab30509a43d" title="Return true if the given key &#39;k&#39; is in the bi-map.">hasKey</a>, <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a739091bff62c4e64f9879d325c821bfa" title="Return true if the given value &#39;v&#39; is in the bi-map.">hasValue</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>false on value not found. </dd></dl>

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00143">143</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae319e38c1fa54911fc287a9c8cf31cbd"></a><!-- doxytag: member="mrpt::utils::bimap::inverse_begin" ref="ae319e38c1fa54911fc287a9c8cf31cbd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a5ecbad80faf46de379067c97f6be8938">const_iterator_inverse</a> mrpt::utils::bimap::inverse_begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00069">69</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac5d4d716282fa60d80d282ddaec2abe4"></a><!-- doxytag: member="mrpt::utils::bimap::inverse_begin" ref="ac5d4d716282fa60d80d282ddaec2abe4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a2bea8b78ca254b1671bbfcf6cec83de3">iterator_inverse</a> mrpt::utils::bimap::inverse_begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00070">70</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3e38ca219ec0b48f79841344635bbd8e"></a><!-- doxytag: member="mrpt::utils::bimap::inverse_end" ref="a3e38ca219ec0b48f79841344635bbd8e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a5ecbad80faf46de379067c97f6be8938">const_iterator_inverse</a> mrpt::utils::bimap::inverse_end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00071">71</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a27c7e18960b485716e8cb61e2c9ac8ed"></a><!-- doxytag: member="mrpt::utils::bimap::inverse_end" ref="a27c7e18960b485716e8cb61e2c9ac8ed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmrpt_1_1utils_1_1bimap.html#a2bea8b78ca254b1671bbfcf6cec83de3">iterator_inverse</a> mrpt::utils::bimap::inverse_end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00072">72</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<a class="anchor" id="a818bc3c02d6183ccfad5bb1f62788cc6"></a><!-- doxytag: member="mrpt::utils::bimap::size" ref="a818bc3c02d6183ccfad5bb1f62788cc6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t mrpt::utils::bimap::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00074">74</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a4830ba126643e43aa6b136e8b3c35383"></a><!-- doxytag: member="mrpt::utils::bimap::m_k2v" ref="a4830ba126643e43aa6b136e8b3c35383" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1map.html">std::map</a>&lt;KEY,VALUE&gt; <a class="el" href="classmrpt_1_1utils_1_1bimap.html#a4830ba126643e43aa6b136e8b3c35383">mrpt::utils::bimap::m_k2v</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00051">51</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

<p>Referenced by <a class="el" href="bimap_8h_source.html#l00064">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::begin()</a>, <a class="el" href="bimap_8h_source.html#l00066">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::end()</a>, <a class="el" href="bimap_8h_source.html#l00074">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::size()</a>, <a class="el" href="bimap_8h_source.html#l00075">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::empty()</a>, <a class="el" href="bimap_8h_source.html#l00078">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::getDirectMap()</a>, <a class="el" href="bimap_8h_source.html#l00082">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::clear()</a>, <a class="el" href="bimap_8h_source.html#l00089">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::insert()</a>, <a class="el" href="bimap_8h_source.html#l00099">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::direct()</a>, <a class="el" href="bimap_8h_source.html#l00108">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::hasKey()</a>, and <a class="el" href="bimap_8h_source.html#l00151">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::find_key()</a>.</p>

</div>
</div>
<a class="anchor" id="ae863313ab920010dce058f3fc82519a0"></a><!-- doxytag: member="mrpt::utils::bimap::m_v2k" ref="ae863313ab920010dce058f3fc82519a0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1map.html">std::map</a>&lt;VALUE,KEY&gt; <a class="el" href="classmrpt_1_1utils_1_1bimap.html#ae863313ab920010dce058f3fc82519a0">mrpt::utils::bimap::m_v2k</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="bimap_8h_source.html#l00052">52</a> of file <a class="el" href="bimap_8h_source.html">bimap.h</a>.</p>

<p>Referenced by <a class="el" href="bimap_8h_source.html#l00069">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::inverse_begin()</a>, <a class="el" href="bimap_8h_source.html#l00071">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::inverse_end()</a>, <a class="el" href="bimap_8h_source.html#l00080">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::getInverseMap()</a>, <a class="el" href="bimap_8h_source.html#l00082">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::clear()</a>, <a class="el" href="bimap_8h_source.html#l00089">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::insert()</a>, <a class="el" href="bimap_8h_source.html#l00112">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::hasValue()</a>, <a class="el" href="bimap_8h_source.html#l00131">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::inverse()</a>, and <a class="el" href="bimap_8h_source.html#l00154">mrpt::utils::bimap&lt; CLandmark::TLandmarkID, unsigned int &gt;::find_value()</a>.</p>

</div>
</div>
</div>
<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table>  </body></html>