⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classlog4cpp_1_1filter.html

📁 log4cpp 的参考文档, 一个非常好用的C++ log 类库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>event</em>&nbsp;</td><td>The <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> to decide on. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The Decision </dd></dl>    </td>  </tr></table><a class="anchor" name="a5" doxytag="log4cpp::Filter::appendChainedFilter"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void log4cpp::Filter::appendChainedFilter           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>filter</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Add a <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> to the end of the <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> chain. <p>Convience method for <a class="el" href="classlog4cpp_1_1Filter.html#a4">getEndOfChain()</a>-&gt;setChainedFilter(filter). <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>filter</em>&nbsp;</td><td>The filter to add to the end of the chain. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a6" doxytag="log4cpp::Filter::decide"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="classlog4cpp_1_1Filter.html#w3">Filter::Decision</a> log4cpp::Filter::decide           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>event</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Decide whether to accept or deny a <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a>. <p>This method will walk the entire chain until a non neutral decision has been made or the end of the chain has been reached. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>event</em>&nbsp;</td><td>The <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> to decide on. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The Decision </dd></dl>    </td>  </tr></table><a class="anchor" name="a3" doxytag="log4cpp::Filter::getChainedFilter"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> * log4cpp::Filter::getChainedFilter           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the next <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> in the <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> chain. <p><dl compact><dt><b>Returns:</b></dt><dd>The next <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> or NULL if the current filter is the last in the chain </dd></dl>    </td>  </tr></table><a class="anchor" name="a4" doxytag="log4cpp::Filter::getEndOfChain"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"><a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> * log4cpp::Filter::getEndOfChain           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the last <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> in the <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> chain. <p><dl compact><dt><b>Returns:</b></dt><dd>The last <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> in the <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> chain </dd></dl>    </td>  </tr></table><a class="anchor" name="a2" doxytag="log4cpp::Filter::setChainedFilter"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void log4cpp::Filter::setChainedFilter           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>filter</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the next <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> in the <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> chain. <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>filter</em>&nbsp;</td><td>The filter to chain </td></tr>  </table></dl>    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="Filter_8hh-source.html">Filter.hh</a><li><a class="el" href="Filter_8cpp.html">Filter.cpp</a></ul><hr size="1"><address style="align: right;"><small>Generated on Fri Jul 29 14:12:17 2005 for log4cpp by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -