CppUnit project page | FAQ |
Protector chain (Implementation). Implementation detail. More...
#include <ProtectorChain.h>
Classes | |
class | ProtectFunctor |
Public Member Functions | |
~ProtectorChain () | |
void | push (Protector *protector) |
void | pop () |
int | count () const |
bool | protect (const Functor &functor, const ProtectorContext &context) |
Public Member Functions inherited from Protector | |
virtual | ~Protector () |
Private Types | |
typedef CppUnitDeque< Protector * > | Protectors |
typedef CppUnitDeque< Functor * > | Functors |
Private Attributes | |
Protectors | m_protectors |
Additional Inherited Members | |
Protected Member Functions inherited from Protector | |
void | reportError (const ProtectorContext &context, const Exception &error) const |
void | reportError (const ProtectorContext &context, const Message &message, const SourceLine &sourceLine=SourceLine()) const |
void | reportFailure (const ProtectorContext &context, const Exception &failure) const |
Message | actualMessage (const Message &message, const ProtectorContext &context) const |
Protector chain (Implementation). Implementation detail.
|
private |
|
private |
ProtectorChain::~ProtectorChain | ( | ) |
int ProtectorChain::count | ( | ) | const |
void ProtectorChain::pop | ( | ) |
|
virtual |
Implements Protector.
void ProtectorChain::push | ( | Protector * | protector | ) |
|
private |
Send comments to: CppUnit Developers |