<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Xapian: API Documentation: xapian-core: 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.5.2 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="nav"> <a class="el" href="namespaceXapian.html">Xapian</a>::<a class="el" href="classXapian_1_1ExpandDeciderAnd.html">ExpandDeciderAnd</a></div> <h1>Xapian::ExpandDeciderAnd Class Reference</h1><!-- doxytag: class="Xapian::ExpandDeciderAnd" --><!-- doxytag: inherits="Xapian::ExpandDecider" --><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="#_details">More...</a> <p> Inheritance diagram for Xapian::ExpandDeciderAnd:<p><center><img src="classXapian_1_1ExpandDeciderAnd__inherit__graph.png" border="0" usemap="#Xapian_1_1ExpandDeciderAnd__inherit__map" alt="Inheritance graph"></center> <map name="Xapian_1_1ExpandDeciderAnd__inherit__map"> <area shape="rect" href="classXapian_1_1ExpandDecider.html" title="Virtual base class for expand decider functor." alt="" coords="17,7,185,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classXapian_1_1ExpandDeciderAnd-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDeciderAnd.html#4a71f65f035786c9b26bccc4b2119bc6">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><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="#4a71f65f035786c9b26bccc4b2119bc6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDeciderAnd.html#3f0f5e1fa39e56c41c7a9b16b6d31ea0">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><td class="mdescLeft"> </td><td class="mdescRight">Compatibility method. <a href="#3f0f5e1fa39e56c41c7a9b16b6d31ea0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1ExpandDeciderAnd.html#c5e1c7736bc73419bf88454acea45cdb">operator()</a> (const std::string &term) const </td></tr> <tr><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 an ordered set of expand terms (an ESet).">ESet</a>? <a href="#c5e1c7736bc73419bf88454acea45cdb"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <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> 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> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="4a71f65f035786c9b26bccc4b2119bc6"></a><!-- doxytag: member="Xapian::ExpandDeciderAnd::ExpandDeciderAnd" ref="4a71f65f035786c9b26bccc4b2119bc6" args="(const ExpandDecider &first_, const ExpandDecider &second_)" --> <div class="memitem"> <div class="memproto"> <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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></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> </div> </div><p> <a class="anchor" name="3f0f5e1fa39e56c41c7a9b16b6d31ea0"></a><!-- doxytag: member="Xapian::ExpandDeciderAnd::ExpandDeciderAnd" ref="3f0f5e1fa39e56c41c7a9b16b6d31ea0" args="(const ExpandDecider *first_, const ExpandDecider *second_)" --> <div class="memitem"> <div class="memproto"> <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><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Compatibility method. <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="c5e1c7736bc73419bf88454acea45cdb"></a><!-- doxytag: member="Xapian::ExpandDeciderAnd::operator()" ref="c5e1c7736bc73419bf88454acea45cdb" args="(const std::string &term) const " --> <div class="memitem"> <div class="memproto"> <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 width="100%"> const<code> [virtual]</code></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 an ordered set of expand terms (an ESet).">ESet</a>? <p> <p> Implements <a class="el" href="classXapian_1_1ExpandDecider.html#8f46f1c5c8bbf58b2d3580aa5aa15146">Xapian::ExpandDecider</a>. </div> </div><p> <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></ul> <hr> <address><small> Documentation for Xapian (version 1.0.21).<br> Generated on 18 Jun 2010 by <a href="http://www.doxygen.org/">Doxygen 1.5.2</a>. </small></address> </body> </html>