<!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.9 --> <script type="text/javascript"> <!-- function changeDisplayState (e){ var num=this.id.replace(/[^[0-9]/g,''); var button=this.firstChild; var sectionDiv=document.getElementById('dynsection'+num); if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ sectionDiv.style.display='block'; button.src='open.gif'; }else{ sectionDiv.style.display='none'; button.src='closed.gif'; } } function initDynSections(){ var divs=document.getElementsByTagName('div'); var sectionCounter=1; for(var i=0;i<divs.length-1;i++){ if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ var header=divs[i]; var section=divs[i+1]; var button=header.firstChild; if (button!='IMG'){ divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); button=document.createElement('img'); divs[i].insertBefore(button,divs[i].firstChild); } header.style.cursor='pointer'; header.onclick=changeDisplayState; header.id='dynheader'+sectionCounter; button.src='closed.gif'; section.id='dynsection'+sectionCounter; section.style.display='none'; section.style.marginLeft='14px'; sectionCounter++; } } } window.onload = initDynSections; --> </script> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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="navpath"><a class="el" href="namespaceXapian.html">Xapian</a>::<a class="el" href="classXapian_1_1ExpandDeciderAnd.html">ExpandDeciderAnd</a> </div> </div> <div class="contents"> <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> <div class="dynheader"> Inheritance diagram for Xapian::ExpandDeciderAnd:</div> <div class="dynsection"> <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></div> <p> <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#9d63accdfda0448b2c2cb6bd1d3de433">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="#9d63accdfda0448b2c2cb6bd1d3de433"></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#5c54b7d99e1e31528eae8054d94df43b">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="#5c54b7d99e1e31528eae8054d94df43b"></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#c10c6b84ff534553b3b9e520f6c0ea29">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="#c10c6b84ff534553b3b9e520f6c0ea29"></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. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="9d63accdfda0448b2c2cb6bd1d3de433"></a><!-- doxytag: member="Xapian::ExpandDeciderAnd::ExpandDeciderAnd" ref="9d63accdfda0448b2c2cb6bd1d3de433" 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><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> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>first_</em> </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 valign="top"></td><td valign="top"><em>second_</em> </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> </dl> </div> </div><p> <a class="anchor" name="5c54b7d99e1e31528eae8054d94df43b"></a><!-- doxytag: member="Xapian::ExpandDeciderAnd::ExpandDeciderAnd" ref="5c54b7d99e1e31528eae8054d94df43b" 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><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Compatibility method. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>first_</em> </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 valign="top"></td><td valign="top"><em>second_</em> </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> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="c10c6b84ff534553b3b9e520f6c0ea29"></a><!-- doxytag: member="Xapian::ExpandDeciderAnd::operator()" ref="c10c6b84ff534553b3b9e520f6c0ea29" 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> 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> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>term</em> </td><td>The term to test. </td></tr> </table> </dl> <p>Implements <a class="el" href="classXapian_1_1ExpandDecider.html#6ee544877bb51b85da4536eb8abd1cf8">Xapian::ExpandDecider</a>.</p> </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> </div> <hr> <address><small> Documentation for Xapian (version 1.2.12).<br> Generated on 27 Jun 2012 by <a href="http://www.doxygen.org/">Doxygen 1.5.9</a>. </small></address> </body> </html>