<!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: _ConstTessMemberResultCallback_0_4&lt; del, void, T, A1, A2, A3, A4 &gt; Class 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('a03669.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-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="a03666.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">_ConstTessMemberResultCallback_0_4&lt; del, void, T, A1, A2, A3, A4 &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="a00596_source.html">tesscallback.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for _ConstTessMemberResultCallback_0_4&lt; del, void, T, A1, A2, A3, A4 &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="a03669.png" usemap="#_5FConstTessMemberResultCallback_5F0_5F4_3C_20del_2C_20void_2C_20T_2C_20A1_2C_20A2_2C_20A3_2C_20A4_20_3E_map" alt=""/>
  <map id="_5FConstTessMemberResultCallback_5F0_5F4_3C_20del_2C_20void_2C_20T_2C_20A1_2C_20A2_2C_20A3_2C_20A4_20_3E_map" name="_5FConstTessMemberResultCallback_5F0_5F4_3C_20del_2C_20void_2C_20T_2C_20A1_2C_20A2_2C_20A3_2C_20A4_20_3E_map">
<area href="a03153.html" alt="TessCallback4&lt; A1, A2, A3, A4 &gt;" shape="rect" coords="0,0,424,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a47c023a060971e16dcb1b465d1e73ebc"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a03153.html">TessCallback4</a>&lt; A1, A2, A3, A4 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03669.html#a47c023a060971e16dcb1b465d1e73ebc">base</a></td></tr>
<tr class="separator:a47c023a060971e16dcb1b465d1e73ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a438e8fa75c630f7d6787f8bc35134057"><td class="memItemLeft" align="right" valign="top">typedef void(T::*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03669.html#a438e8fa75c630f7d6787f8bc35134057">MemberSignature</a>) (A1, A2, A3, A4) const</td></tr>
<tr class="separator:a438e8fa75c630f7d6787f8bc35134057"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:ad91955aae851ef6371e77452bdcef978"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03669.html#ad91955aae851ef6371e77452bdcef978">_ConstTessMemberResultCallback_0_4</a> (const T *object, <a class="el" href="a03669.html#a438e8fa75c630f7d6787f8bc35134057">MemberSignature</a> member)</td></tr>
<tr class="separator:ad91955aae851ef6371e77452bdcef978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acca60268b18188107a31efd58150d041"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03669.html#acca60268b18188107a31efd58150d041">Run</a> (A1 a1, A2 a2, A3 a3, A4 a4)</td></tr>
<tr class="separator:acca60268b18188107a31efd58150d041"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_a03153"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a03153')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="a03153.html">TessCallback4&lt; A1, A2, A3, A4 &gt;</a></td></tr>
<tr class="memitem:ad0a1f72825ee0e22fc8c28f02e924321 inherit pub_methods_a03153"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03153.html#ad0a1f72825ee0e22fc8c28f02e924321">~TessCallback4</a> ()</td></tr>
<tr class="separator:ad0a1f72825ee0e22fc8c28f02e924321 inherit pub_methods_a03153"><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;bool del, class T, class A1, class A2, class A3, class A4&gt;<br />
class _ConstTessMemberResultCallback_0_4&lt; del, void, T, A1, A2, A3, A4 &gt;</h3>


<p class="definition">Definition at line <a class="el" href="a00596_source.html#l06572">6572</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a47c023a060971e16dcb1b465d1e73ebc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47c023a060971e16dcb1b465d1e73ebc">&#9670;&nbsp;</a></span>base</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;bool del, class T , class A1 , class A2 , class A3 , class A4 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a03153.html">TessCallback4</a>&lt;A1,A2,A3,A4&gt; <a class="el" href="a03665.html">_ConstTessMemberResultCallback_0_4</a>&lt; del, void, T, A1, A2, A3, A4 &gt;::<a class="el" href="a03669.html#a47c023a060971e16dcb1b465d1e73ebc">base</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="a00596_source.html#l06574">6574</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p>

</div>
</div>
<a id="a438e8fa75c630f7d6787f8bc35134057"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a438e8fa75c630f7d6787f8bc35134057">&#9670;&nbsp;</a></span>MemberSignature</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;bool del, class T , class A1 , class A2 , class A3 , class A4 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef void(T::* <a class="el" href="a03665.html">_ConstTessMemberResultCallback_0_4</a>&lt; del, void, T, A1, A2, A3, A4 &gt;::MemberSignature) (A1, A2, A3, A4) const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="a00596_source.html#l06575">6575</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad91955aae851ef6371e77452bdcef978"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad91955aae851ef6371e77452bdcef978">&#9670;&nbsp;</a></span>_ConstTessMemberResultCallback_0_4()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;bool del, class T , class A1 , class A2 , class A3 , class A4 &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a03665.html">_ConstTessMemberResultCallback_0_4</a>&lt; del, void, T, A1, A2, A3, A4 &gt;::<a class="el" href="a03665.html">_ConstTessMemberResultCallback_0_4</a> </td>
          <td>(</td>
          <td class="paramtype">const T *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03669.html#a438e8fa75c630f7d6787f8bc35134057">MemberSignature</a>&#160;</td>
          <td class="paramname"><em>member</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="a00596_source.html#l06582">6582</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p>
<div class="fragment"><div class="line"><a name="l06583"></a><span class="lineno"> 6583</span>&#160;    : object_(<span class="keywordtype">object</span>),</div><div class="line"><a name="l06584"></a><span class="lineno"> 6584</span>&#160;      member_(member) { }</div></div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acca60268b18188107a31efd58150d041"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acca60268b18188107a31efd58150d041">&#9670;&nbsp;</a></span>Run()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;bool del, class T , class A1 , class A2 , class A3 , class A4 &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="a03665.html">_ConstTessMemberResultCallback_0_4</a>&lt; del, void, T, A1, A2, A3, A4 &gt;::Run </td>
          <td>(</td>
          <td class="paramtype">A1&#160;</td>
          <td class="paramname"><em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">A2&#160;</td>
          <td class="paramname"><em>a2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">A3&#160;</td>
          <td class="paramname"><em>a3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">A4&#160;</td>
          <td class="paramname"><em>a4</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 class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implements <a class="el" href="a03153.html#a36fb0a456ac52e8d8bdbc8f2488333ad">TessCallback4&lt; A1, A2, A3, A4 &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="a00596_source.html#l06586">6586</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p>
<div class="fragment"><div class="line"><a name="l06586"></a><span class="lineno"> 6586</span>&#160;                                            {</div><div class="line"><a name="l06587"></a><span class="lineno"> 6587</span>&#160;    <span class="keywordflow">if</span> (!del) {</div><div class="line"><a name="l06588"></a><span class="lineno"> 6588</span>&#160;      (object_-&gt;*member_)(a1,a2,a3,a4);</div><div class="line"><a name="l06589"></a><span class="lineno"> 6589</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l06590"></a><span class="lineno"> 6590</span>&#160;      (object_-&gt;*member_)(a1,a2,a3,a4);</div><div class="line"><a name="l06591"></a><span class="lineno"> 6591</span>&#160;      <span class="comment">//  zero out the pointer to ensure segfault if used again</span></div><div class="line"><a name="l06592"></a><span class="lineno"> 6592</span>&#160;      member_ = NULL;</div><div class="line"><a name="l06593"></a><span class="lineno"> 6593</span>&#160;      <span class="keyword">delete</span> <span class="keyword">this</span>;</div><div class="line"><a name="l06594"></a><span class="lineno"> 6594</span>&#160;    }</div><div class="line"><a name="l06595"></a><span class="lineno"> 6595</span>&#160;  }</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ccutil/<a class="el" href="a00596_source.html">tesscallback.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="a03669.html">_ConstTessMemberResultCallback_0_4&lt; del, void, T, A1, A2, A3, A4 &gt;</a></li>
    <li class="footer">Generated on Mon Oct 29 2018 11:27:55 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>