1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Xapian: API Documentation: Xapian::ExpandDeciderAnd Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceXapian.html">Xapian</a></li><li class="navelem"><a class="el" href="classXapian_1_1ExpandDeciderAnd.html">ExpandDeciderAnd</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classXapian_1_1ExpandDeciderAnd-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Xapian::ExpandDeciderAnd Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor. ">ExpandDecider</a> subclass which rejects terms using two ExpandDeciders.
<a href="classXapian_1_1ExpandDeciderAnd.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Xapian::ExpandDeciderAnd:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classXapian_1_1ExpandDeciderAnd__inherit__graph.png" border="0" usemap="#Xapian_1_1ExpandDeciderAnd_inherit__map" alt="Inheritance graph"/></div>
<map name="Xapian_1_1ExpandDeciderAnd_inherit__map" id="Xapian_1_1ExpandDeciderAnd_inherit__map">
<area shape="rect" id="node2" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor. " alt="" coords="17,80,176,107"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></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:a9d63accdfda0448b2c2cb6bd1d3de433"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDeciderAnd.html#a9d63accdfda0448b2c2cb6bd1d3de433">ExpandDeciderAnd</a> (const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> &first_, const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> &second_)</td></tr>
<tr class="memdesc:a9d63accdfda0448b2c2cb6bd1d3de433"><td class="mdescLeft"> </td><td class="mdescRight">Terms will be checked with <em>first</em>, and if accepted, then checked with <em>second</em>. <a href="#a9d63accdfda0448b2c2cb6bd1d3de433">More...</a><br /></td></tr>
<tr class="separator:a9d63accdfda0448b2c2cb6bd1d3de433"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c54b7d99e1e31528eae8054d94df43b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDeciderAnd.html#a5c54b7d99e1e31528eae8054d94df43b">ExpandDeciderAnd</a> (const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> *first_, const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> *second_)</td></tr>
<tr class="memdesc:a5c54b7d99e1e31528eae8054d94df43b"><td class="mdescLeft"> </td><td class="mdescRight">Compatibility method. <a href="#a5c54b7d99e1e31528eae8054d94df43b">More...</a><br /></td></tr>
<tr class="separator:a5c54b7d99e1e31528eae8054d94df43b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa121af48814db69ae8b65fdb563a2b7a"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDeciderAnd.html#aa121af48814db69ae8b65fdb563a2b7a">operator()</a> (const std::string &term) const</td></tr>
<tr class="memdesc:aa121af48814db69ae8b65fdb563a2b7a"><td class="mdescLeft"> </td><td class="mdescRight">Do we want this term in the <a class="el" href="classXapian_1_1ESet.html" title="Class representing a list of search results. ">ESet</a>? <a href="#aa121af48814db69ae8b65fdb563a2b7a">More...</a><br /></td></tr>
<tr class="separator:aa121af48814db69ae8b65fdb563a2b7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classXapian_1_1ExpandDecider"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classXapian_1_1ExpandDecider')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classXapian_1_1ExpandDecider.html">Xapian::ExpandDecider</a></td></tr>
<tr class="memitem:a3b9d59192023d21bdbf2b4397ad4efcf inherit pub_methods_classXapian_1_1ExpandDecider"><td class="memItemLeft" align="right" valign="top"><a id="a3b9d59192023d21bdbf2b4397ad4efcf"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDecider.html#a3b9d59192023d21bdbf2b4397ad4efcf">ExpandDecider</a> ()</td></tr>
<tr class="memdesc:a3b9d59192023d21bdbf2b4397ad4efcf inherit pub_methods_classXapian_1_1ExpandDecider"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a3b9d59192023d21bdbf2b4397ad4efcf inherit pub_methods_classXapian_1_1ExpandDecider"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0a1002daa165553770b71abf23348be inherit pub_methods_classXapian_1_1ExpandDecider"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDecider.html#ac0a1002daa165553770b71abf23348be">~ExpandDecider</a> ()</td></tr>
<tr class="memdesc:ac0a1002daa165553770b71abf23348be inherit pub_methods_classXapian_1_1ExpandDecider"><td class="mdescLeft"> </td><td class="mdescRight">Virtual destructor, because we have virtual methods. <a href="classXapian_1_1ExpandDecider.html#ac0a1002daa165553770b71abf23348be">More...</a><br /></td></tr>
<tr class="separator:ac0a1002daa165553770b71abf23348be inherit pub_methods_classXapian_1_1ExpandDecider"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a00e27c776f8f37563a884e55df8c0415 inherit pub_methods_classXapian_1_1ExpandDecider"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDecider.html#a00e27c776f8f37563a884e55df8c0415">release</a> ()</td></tr>
<tr class="memdesc:a00e27c776f8f37563a884e55df8c0415 inherit pub_methods_classXapian_1_1ExpandDecider"><td class="mdescLeft"> </td><td class="mdescRight">Start reference counting this object. <a href="classXapian_1_1ExpandDecider.html#a00e27c776f8f37563a884e55df8c0415">More...</a><br /></td></tr>
<tr class="separator:a00e27c776f8f37563a884e55df8c0415 inherit pub_methods_classXapian_1_1ExpandDecider"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8319f3fdc133aa12a0c2662f7a5b3ac6 inherit pub_methods_classXapian_1_1ExpandDecider"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDecider.html#a8319f3fdc133aa12a0c2662f7a5b3ac6">release</a> () const</td></tr>
<tr class="memdesc:a8319f3fdc133aa12a0c2662f7a5b3ac6 inherit pub_methods_classXapian_1_1ExpandDecider"><td class="mdescLeft"> </td><td class="mdescRight">Start reference counting this object. <a href="classXapian_1_1ExpandDecider.html#a8319f3fdc133aa12a0c2662f7a5b3ac6">More...</a><br /></td></tr>
<tr class="separator:a8319f3fdc133aa12a0c2662f7a5b3ac6 inherit pub_methods_classXapian_1_1ExpandDecider"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor. ">ExpandDecider</a> subclass which rejects terms using two ExpandDeciders. </p>
<p>Terms are only accepted if they are accepted by both of the specified <a class="el" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor. ">ExpandDecider</a> objects. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a9d63accdfda0448b2c2cb6bd1d3de433"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d63accdfda0448b2c2cb6bd1d3de433">◆ </a></span>ExpandDeciderAnd() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Xapian::ExpandDeciderAnd::ExpandDeciderAnd </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> & </td>
<td class="paramname"><em>first_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> & </td>
<td class="paramname"><em>second_</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>Terms will be checked with <em>first</em>, and if accepted, then checked with <em>second</em>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">first_</td><td>First <a class="el" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor. ">ExpandDecider</a> object to test with. </td></tr>
<tr><td class="paramname">second_</td><td><a class="el" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor. ">ExpandDecider</a> object to test with if first_ accepts. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a5c54b7d99e1e31528eae8054d94df43b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c54b7d99e1e31528eae8054d94df43b">◆ </a></span>ExpandDeciderAnd() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Xapian::ExpandDeciderAnd::ExpandDeciderAnd </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> * </td>
<td class="paramname"><em>first_</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXapian_1_1ExpandDecider.html">ExpandDecider</a> * </td>
<td class="paramname"><em>second_</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>Compatibility method. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">first_</td><td>First <a class="el" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor. ">ExpandDecider</a> object to test with. </td></tr>
<tr><td class="paramname">second_</td><td><a class="el" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor. ">ExpandDecider</a> object to test with if first_ accepts. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa121af48814db69ae8b65fdb563a2b7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa121af48814db69ae8b65fdb563a2b7a">◆ </a></span>operator()()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool Xapian::ExpandDeciderAnd::operator() </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>term</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Do we want this term in the <a class="el" href="classXapian_1_1ESet.html" title="Class representing a list of search results. ">ESet</a>? </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">term</td><td>The term to test. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classXapian_1_1ExpandDecider.html#a6ee544877bb51b85da4536eb8abd1cf8">Xapian::ExpandDecider</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>xapian/<a class="el" href="expanddecider_8h.html">expanddecider.h</a></li>
</ul>
</div><!-- contents -->
<hr>
<address><small>
Documentation for Xapian (version 1.4.3).<br>
Generated on Wed Jan 25 2017 by
<a href="http://www.doxygen.org/">Doxygen 1.8.13</a>.
</small></address>
</body>
</html>
|