| CppUnit project page | FAQ | 
Scoped protector push to TestResult. More...
#include <Protector.h>

| Public Member Functions | |
| ProtectorGuard (TestResult *result, Protector *protector) | |
| Pushes the specified protector.  More... | |
| ~ProtectorGuard () | |
| Pops the protector.  More... | |
| Private Member Functions | |
| ProtectorGuard (const ProtectorGuard &) | |
| ProtectorGuard & | operator= (const ProtectorGuard &) | 
| Private Attributes | |
| TestResult * | m_result | 
Scoped protector push to TestResult.
Adds the specified Protector to the specified TestResult for the object life-time.
| ProtectorGuard::ProtectorGuard | ( | TestResult * | result, | 
| Protector * | protector | ||
| ) | 
Pushes the specified protector.
| ProtectorGuard::~ProtectorGuard | ( | ) | 
Pops the protector.
| 
 | private | 
| 
 | private | 
| 
 | private | 
| Send comments to: CppUnit Developers |