<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tesseract: tesseract::KDPairInc&lt; Key, Data &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">tesseract
   &#160;<span id="projectnumber">3.05.02</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a02845.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="a02842.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">tesseract::KDPairInc&lt; Key, Data &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="a00533_source.html">kdpair.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for tesseract::KDPairInc&lt; Key, Data &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="a02845.png" usemap="#tesseract::KDPairInc_3C_20Key_2C_20Data_20_3E_map" alt=""/>
  <map id="tesseract::KDPairInc_3C_20Key_2C_20Data_20_3E_map" name="tesseract::KDPairInc_3C_20Key_2C_20Data_20_3E_map">
<area href="a02841.html" alt="tesseract::KDPair&lt; Key, Data &gt;" shape="rect" coords="0,0,207,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac3234b4de44208d494019ad863ca9bdc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02845.html#ac3234b4de44208d494019ad863ca9bdc">KDPairInc</a> ()</td></tr>
<tr class="separator:ac3234b4de44208d494019ad863ca9bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eaa49d49e9ed9cb8cc978894abad937"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02845.html#a7eaa49d49e9ed9cb8cc978894abad937">KDPairInc</a> (Key k, Data d)</td></tr>
<tr class="separator:a7eaa49d49e9ed9cb8cc978894abad937"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1057084a80e4feca7aeedac5a5b77727"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02845.html#a1057084a80e4feca7aeedac5a5b77727">operator&lt;</a> (const <a class="el" href="a02845.html">KDPairInc</a>&lt; Key, Data &gt; &amp;other) const</td></tr>
<tr class="separator:a1057084a80e4feca7aeedac5a5b77727"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_a02841"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a02841')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="a02841.html">tesseract::KDPair&lt; Key, Data &gt;</a></td></tr>
<tr class="memitem:a243ba0ad52a92a2d82ab772b9f3b8839 inherit pub_methods_a02841"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02841.html#a243ba0ad52a92a2d82ab772b9f3b8839">KDPair</a> ()</td></tr>
<tr class="separator:a243ba0ad52a92a2d82ab772b9f3b8839 inherit pub_methods_a02841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaf889a954d5385eb495bd560d7d9ccc inherit pub_methods_a02841"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02841.html#aaaf889a954d5385eb495bd560d7d9ccc">KDPair</a> (Key k, Data d)</td></tr>
<tr class="separator:aaaf889a954d5385eb495bd560d7d9ccc inherit pub_methods_a02841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ddfb0e9f7e0ade504bd26c566b0be2a inherit pub_methods_a02841"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02841.html#a4ddfb0e9f7e0ade504bd26c566b0be2a">operator==</a> (const <a class="el" href="a02841.html">KDPair</a>&lt; Key, Data &gt; &amp;other) const</td></tr>
<tr class="separator:a4ddfb0e9f7e0ade504bd26c566b0be2a inherit pub_methods_a02841"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:abfbfb5f2a09b4436553abd75b978e899"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a02845.html">KDPairInc</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02845.html#abfbfb5f2a09b4436553abd75b978e899">RecastDataPointer</a> (Data *data_ptr)</td></tr>
<tr class="separator:abfbfb5f2a09b4436553abd75b978e899"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_a02841"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_a02841')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="a02841.html">tesseract::KDPair&lt; Key, Data &gt;</a></td></tr>
<tr class="memitem:a1eb0fe4be23a765672c220d76d3a9569 inherit pub_attribs_a02841"><td class="memItemLeft" align="right" valign="top">Data&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02841.html#a1eb0fe4be23a765672c220d76d3a9569">data</a></td></tr>
<tr class="separator:a1eb0fe4be23a765672c220d76d3a9569 inherit pub_attribs_a02841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d26774f49567160f75fb9ad422f86db inherit pub_attribs_a02841"><td class="memItemLeft" align="right" valign="top">Key&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02841.html#a0d26774f49567160f75fb9ad422f86db">key</a></td></tr>
<tr class="separator:a0d26774f49567160f75fb9ad422f86db inherit pub_attribs_a02841"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Key, typename Data&gt;<br />
struct tesseract::KDPairInc&lt; Key, Data &gt;</h3>


<p class="definition">Definition at line <a class="el" href="a00533_source.html#l00051">51</a> of file <a class="el" href="a00533_source.html">kdpair.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ac3234b4de44208d494019ad863ca9bdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3234b4de44208d494019ad863ca9bdc">&#9670;&nbsp;</a></span>KDPairInc() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Data &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a02845.html">tesseract::KDPairInc</a>&lt; Key, Data &gt;::<a class="el" href="a02845.html">KDPairInc</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="a00533_source.html#l00052">52</a> of file <a class="el" href="a00533_source.html">kdpair.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;{}</div></div><!-- fragment -->
</div>
</div>
<a id="a7eaa49d49e9ed9cb8cc978894abad937"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7eaa49d49e9ed9cb8cc978894abad937">&#9670;&nbsp;</a></span>KDPairInc() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Data &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a02845.html">tesseract::KDPairInc</a>&lt; Key, Data &gt;::<a class="el" href="a02845.html">KDPairInc</a> </td>
          <td>(</td>
          <td class="paramtype">Key&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Data&#160;</td>
          <td class="paramname"><em>d</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="a00533_source.html#l00053">53</a> of file <a class="el" href="a00533_source.html">kdpair.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;: KDPair&lt;Key, Data&gt;(k, d) {}</div></div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1057084a80e4feca7aeedac5a5b77727"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1057084a80e4feca7aeedac5a5b77727">&#9670;&nbsp;</a></span>operator&lt;()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Data &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a02845.html">tesseract::KDPairInc</a>&lt; Key, Data &gt;::operator&lt; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a02845.html">KDPairInc</a>&lt; Key, Data &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="a00533_source.html#l00055">55</a> of file <a class="el" href="a00533_source.html">kdpair.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                                                         {</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordflow">return</span> this-&gt;<a class="code" href="a02841.html#a0d26774f49567160f75fb9ad422f86db">key</a> &lt; other.key;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;  }</div><div class="ttc" id="a02841_html_a0d26774f49567160f75fb9ad422f86db"><div class="ttname"><a href="a02841.html#a0d26774f49567160f75fb9ad422f86db">tesseract::KDPair::key</a></div><div class="ttdeci">Key key</div><div class="ttdef"><b>Definition:</b> <a href="a00533_source.html#l00046">kdpair.h:46</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a id="abfbfb5f2a09b4436553abd75b978e899"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfbfb5f2a09b4436553abd75b978e899">&#9670;&nbsp;</a></span>RecastDataPointer()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Data &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a02845.html">KDPairInc</a>* <a class="el" href="a02845.html">tesseract::KDPairInc</a>&lt; Key, Data &gt;::RecastDataPointer </td>
          <td>(</td>
          <td class="paramtype">Data *&#160;</td>
          <td class="paramname"><em>data_ptr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="a00533_source.html#l00060">60</a> of file <a class="el" href="a00533_source.html">kdpair.h</a>.</p>
<div class="fragment"><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                                                      {</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast&lt;</span><a class="code" href="a02845.html#ac3234b4de44208d494019ad863ca9bdc">KDPairInc</a>*<span class="keyword">&gt;</span>(data_ptr);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  }</div><div class="ttc" id="a02845_html_ac3234b4de44208d494019ad863ca9bdc"><div class="ttname"><a href="a02845.html#ac3234b4de44208d494019ad863ca9bdc">tesseract::KDPairInc::KDPairInc</a></div><div class="ttdeci">KDPairInc()</div><div class="ttdef"><b>Definition:</b> <a href="a00533_source.html#l00052">kdpair.h:52</a></div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>ccutil/<a class="el" href="a00533_source.html">kdpair.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="a01738.html">tesseract</a></li><li class="navelem"><a class="el" href="a02845.html">KDPairInc</a></li>
    <li class="footer">Generated on Mon Oct 29 2018 11:28:04 for tesseract by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>