📄 class_protector_chain.html
字号:
<html><head><title>CppUnit - The Unit Testing Library</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"> <table width="100%"> <tr> <td width="40%" align="left" valign="center"> <a href="http://sourceforge.net/projects/cppunit"> CppUnit project page </a> </td> <td> <a href="FAQ">FAQ</a> </td> <td width="40%" align="right" valign="center"> <a href="http://cppunit.sourceforge.net">CppUnit home page</a> </td> </tr></table><hr><!-- Generated by Doxygen 1.3.7 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div><h1>ProtectorChain Class Reference</h1><a class="el" href="class_protector.html">Protector</a> chain (Implementation). Implementation detail. <a href="#_details">More...</a><p><code>#include <<a class="el" href="_protector_chain_8h-source.html">ProtectorChain.h</a>></code><p><p>Inheritance diagram for ProtectorChain:<p><center><img src="class_protector_chain.png" usemap="#ProtectorChain_map" border="0" alt=""></center><map name="ProtectorChain_map"><area href="class_protector.html" alt="Protector" shape="rect" coords="0,0,97,24"></map><a href="class_protector_chain-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="class_protector_chain.html#a0">~ProtectorChain</a> ()</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="class_protector_chain.html#a1">push</a> (<a class="el" href="class_protector.html">Protector</a> *protector)</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="class_protector_chain.html#a2">pop</a> ()</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="class_protector_chain.html#a3">count</a> () const</td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="class_protector_chain.html#a4">protect</a> (const <a class="el" href="class_functor.html">Functor</a> &functor, const <a class="el" href="class_protector_context.html">ProtectorContext</a> &context)</td></tr><tr><td colspan=2><br><h2>Private Types</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef CppUnitDeque< <a class="el" href="class_protector.html">Protector</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="class_protector_chain.html#y0">Protectors</a></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>typedef CppUnitDeque< <a class="el" href="class_functor.html">Functor</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="class_protector_chain.html#y1">Functors</a></td></tr><tr><td colspan=2><br><h2>Private Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="class_protector_chain.html#y0">Protectors</a> </td><td class="memItemRight" valign=bottom><a class="el" href="class_protector_chain.html#r0">m_protectors</a></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2><a class="el" href="class_protector.html">Protector</a> chain (Implementation). Implementation detail. <p><hr><h2>Member Typedef Documentation</h2><a class="anchor" name="y1" doxytag="ProtectorChain::Functors" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef CppUnitDeque<<a class="el" href="class_functor.html">Functor</a> *> <a class="el" href="class_protector_chain.html#y1">ProtectorChain::Functors</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="y0" doxytag="ProtectorChain::Protectors" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> typedef CppUnitDeque<<a class="el" href="class_protector.html">Protector</a> *> <a class="el" href="class_protector_chain.html#y0">ProtectorChain::Protectors</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr><h2>Constructor & Destructor Documentation</h2><a class="anchor" name="a0" doxytag="ProtectorChain::~ProtectorChain" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> ProtectorChain::~<a class="el" href="class_protector_chain.html">ProtectorChain</a> </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="a3" doxytag="ProtectorChain::count" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int ProtectorChain::count </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="a2" doxytag="ProtectorChain::pop" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void ProtectorChain::pop </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="a4" doxytag="ProtectorChain::protect" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool ProtectorChain::protect </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="class_functor.html">Functor</a> & </td> <td class="mdname" nowrap> <em>functor</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>const <a class="el" href="class_protector_context.html">ProtectorContext</a> & </td> <td class="mdname" nowrap> <em>context</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Implements <a class="el" href="class_protector.html#a1">Protector</a>. </td> </tr></table><a class="anchor" name="a1" doxytag="ProtectorChain::push" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void ProtectorChain::push </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="class_protector.html">Protector</a> * </td> <td class="mdname1" valign="top" nowrap> <em>protector</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="r0" doxytag="ProtectorChain::m_protectors" ></a><p><table class="mdTable" width="100%" 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="class_protector_chain.html#y0">Protectors</a> <a class="el" href="class_protector_chain.html#r0">ProtectorChain::m_protectors</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_protector_chain_8h-source.html">ProtectorChain.h</a><li><a class="el" href="_protector_chain_8cpp.html">ProtectorChain.cpp</a></ul><hr><table width="100%"> <tr> <td width="10%" align="left" valign="center"> <a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=11795" width="88" height="31" border="0" alt="SourceForge Logo"></a> </td> <td width="20%" align="left" valign="center"> hosts this site. </td> <td> </td> <td align="right" valign="center"> Send comments to:<br> <a href="mailto:cppunit-devel@lists.sourceforge.net">CppUnit Developers</a> </td> </tr></table></body> </html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -