MongoDB C++ Driver
legacy-1.1.2
|
Helper class for making sure that FailPoint::shouldFailCloseBlock is called when FailPoint::shouldFailOpenBlock was called. More...
#include <fail_point.h>
Public Member Functions | |
bool | isActive () |
const BSONObj & | getData () const |
Helper class for making sure that FailPoint::shouldFailCloseBlock is called when FailPoint::shouldFailOpenBlock was called.
This should only be used within the MONGO_FAIL_POINT_BLOCK macro.
const BSONObj& mongo::ScopedFailPoint::getData | ( | ) | const |
|
inline |