<!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_3< del, R, T, A1, A2, A3 > 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&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  <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&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&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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('a03497.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> | <a href="#pub-methods">Public Member Functions</a> | <a href="a03494.html">List of all members</a> </div> <div class="headertitle"> <div class="title">_ConstTessMemberResultCallback_0_3< del, R, T, A1, A2, A3 > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="a00596_source.html">tesscallback.h</a>></code></p> <div class="dynheader"> Inheritance diagram for _ConstTessMemberResultCallback_0_3< del, R, T, A1, A2, A3 >:</div> <div class="dyncontent"> <div class="center"> <img src="a03497.png" usemap="#_5FConstTessMemberResultCallback_5F0_5F3_3C_20del_2C_20R_2C_20T_2C_20A1_2C_20A2_2C_20A3_20_3E_map" alt=""/> <map id="_5FConstTessMemberResultCallback_5F0_5F3_3C_20del_2C_20R_2C_20T_2C_20A1_2C_20A2_2C_20A3_20_3E_map" name="_5FConstTessMemberResultCallback_5F0_5F3_3C_20del_2C_20R_2C_20T_2C_20A1_2C_20A2_2C_20A3_20_3E_map"> <area href="a03149.html" alt="TessResultCallback3< R, A1, A2, A3 >" shape="rect" coords="0,0,383,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:abc1d0fb0a4a44b6693759fb6b783b3fd"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="a03149.html">TessResultCallback3</a>< R, A1, A2, A3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="a03497.html#abc1d0fb0a4a44b6693759fb6b783b3fd">base</a></td></tr> <tr class="separator:abc1d0fb0a4a44b6693759fb6b783b3fd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a87314cfe5cd68f08bf4432a7f5100512"><td class="memItemLeft" align="right" valign="top">typedef R(T::* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03497.html#a87314cfe5cd68f08bf4432a7f5100512">MemberSignature</a>) (A1, A2, A3) const</td></tr> <tr class="separator:a87314cfe5cd68f08bf4432a7f5100512"><td class="memSeparator" colspan="2"> </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:aa448aea48ce5fc89703c79774de537b7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a03497.html#aa448aea48ce5fc89703c79774de537b7">_ConstTessMemberResultCallback_0_3</a> (const T *object, <a class="el" href="a03497.html#a87314cfe5cd68f08bf4432a7f5100512">MemberSignature</a> member)</td></tr> <tr class="separator:aa448aea48ce5fc89703c79774de537b7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aad522994559151e53fc0a0852388fad4"><td class="memItemLeft" align="right" valign="top">virtual R </td><td class="memItemRight" valign="bottom"><a class="el" href="a03497.html#aad522994559151e53fc0a0852388fad4">Run</a> (A1 a1, A2 a2, A3 a3)</td></tr> <tr class="separator:aad522994559151e53fc0a0852388fad4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_a03149"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a03149')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="a03149.html">TessResultCallback3< R, A1, A2, A3 ></a></td></tr> <tr class="memitem:a923e02264c9d99f9c656d7978883b76d inherit pub_methods_a03149"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="a03149.html#a923e02264c9d99f9c656d7978883b76d">~TessResultCallback3</a> ()</td></tr> <tr class="separator:a923e02264c9d99f9c656d7978883b76d inherit pub_methods_a03149"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<bool del, class R, class T, class A1, class A2, class A3><br /> class _ConstTessMemberResultCallback_0_3< del, R, T, A1, A2, A3 ></h3> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l04933">4933</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> </div><h2 class="groupheader">Member Typedef Documentation</h2> <a id="abc1d0fb0a4a44b6693759fb6b783b3fd"></a> <h2 class="memtitle"><span class="permalink"><a href="#abc1d0fb0a4a44b6693759fb6b783b3fd">◆ </a></span>base</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<bool del, class R, class T, class A1, class A2, class A3> </div> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a03149.html">TessResultCallback3</a><R,A1,A2,A3> <a class="el" href="a03497.html">_ConstTessMemberResultCallback_0_3</a>< del, R, T, A1, A2, A3 >::<a class="el" href="a03497.html#abc1d0fb0a4a44b6693759fb6b783b3fd">base</a></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l04935">4935</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> </div> </div> <a id="a87314cfe5cd68f08bf4432a7f5100512"></a> <h2 class="memtitle"><span class="permalink"><a href="#a87314cfe5cd68f08bf4432a7f5100512">◆ </a></span>MemberSignature</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<bool del, class R, class T, class A1, class A2, class A3> </div> <table class="memname"> <tr> <td class="memname">typedef R(T::* <a class="el" href="a03497.html">_ConstTessMemberResultCallback_0_3</a>< del, R, T, A1, A2, A3 >::MemberSignature) (A1, A2, A3) const</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l04936">4936</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="aa448aea48ce5fc89703c79774de537b7"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa448aea48ce5fc89703c79774de537b7">◆ </a></span>_ConstTessMemberResultCallback_0_3()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<bool del, class R, class T, class A1, class A2, class A3> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="a03497.html">_ConstTessMemberResultCallback_0_3</a>< del, R, T, A1, A2, A3 >::<a class="el" href="a03497.html">_ConstTessMemberResultCallback_0_3</a> </td> <td>(</td> <td class="paramtype">const T * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a03497.html#a87314cfe5cd68f08bf4432a7f5100512">MemberSignature</a> </td> <td class="paramname"><em>member</em> </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#l04943">4943</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> <div class="fragment"><div class="line"><a name="l04945"></a><span class="lineno"> 4945</span>  : object_(<span class="keywordtype">object</span>),</div><div class="line"><a name="l04946"></a><span class="lineno"> 4946</span>  member_(member) {</div><div class="line"><a name="l04947"></a><span class="lineno"> 4947</span>  }</div></div><!-- fragment --> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="aad522994559151e53fc0a0852388fad4"></a> <h2 class="memtitle"><span class="permalink"><a href="#aad522994559151e53fc0a0852388fad4">◆ </a></span>Run()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<bool del, class R, class T, class A1, class A2, class A3> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual R <a class="el" href="a03497.html">_ConstTessMemberResultCallback_0_3</a>< del, R, T, A1, A2, A3 >::Run </td> <td>(</td> <td class="paramtype">A1 </td> <td class="paramname"><em>a1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">A2 </td> <td class="paramname"><em>a2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">A3 </td> <td class="paramname"><em>a3</em> </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="a03149.html#ae717c653a51e735080121a2f6fb0b4d3">TessResultCallback3< R, A1, A2, A3 ></a>.</p> <p class="definition">Definition at line <a class="el" href="a00596_source.html#l04949">4949</a> of file <a class="el" href="a00596_source.html">tesscallback.h</a>.</p> <div class="fragment"><div class="line"><a name="l04949"></a><span class="lineno"> 4949</span>  {</div><div class="line"><a name="l04950"></a><span class="lineno"> 4950</span>  <span class="keywordflow">if</span> (!del) {</div><div class="line"><a name="l04951"></a><span class="lineno"> 4951</span>  R result = (object_->*member_)(a1,a2,a3);</div><div class="line"><a name="l04952"></a><span class="lineno"> 4952</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l04953"></a><span class="lineno"> 4953</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l04954"></a><span class="lineno"> 4954</span>  R result = (object_->*member_)(a1,a2,a3);</div><div class="line"><a name="l04955"></a><span class="lineno"> 4955</span>  <span class="comment">// zero out the pointer to ensure segfault if used again</span></div><div class="line"><a name="l04956"></a><span class="lineno"> 4956</span>  member_ = NULL;</div><div class="line"><a name="l04957"></a><span class="lineno"> 4957</span>  <span class="keyword">delete</span> <span class="keyword">this</span>;</div><div class="line"><a name="l04958"></a><span class="lineno"> 4958</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l04959"></a><span class="lineno"> 4959</span>  }</div><div class="line"><a name="l04960"></a><span class="lineno"> 4960</span>  }</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="a03497.html">_ConstTessMemberResultCallback_0_3</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>