|
BDE 4.14.0 Production release
|
#include <bsls_preconditions.h>
Public Types | |
| typedef void(* | PreconditionHandlerType) () |
Static Public Member Functions | |
| static PreconditionHandlerType | getBeginHandler () |
Return the previously installed s_beginHandler. | |
| static PreconditionHandlerType | getEndHandler () |
Return the previously installed s_endHandler. | |
| static void | installHandlers (PreconditionHandlerType beginHandler, PreconditionHandlerType endHandler) |
| static void | invokeBeginHandler () |
Invoke the previously installed s_beginHandler function. | |
| static void | invokeEndHandler () |
Invoke the previously installed s_endHandler function. | |
| static void | noOpHandler () |
| Do nothing. | |
This utility class maintains pointers containing the addresses of functions invoked by the BSLS_PRECONDITIONS_BEGIN and BSLS_PRECONDITIONS_END macros, and provides methods to manipulate and utilize those functions.
| typedef void(* bsls::PreconditionsHandler::PreconditionHandlerType) () |
PreconditionHandlerType is an alias for a pointer to a function returning void and taking no parameters.
|
static |
|
static |
|
static |
Store the specified beginHandler and endHandler function pointers to the static member variables.
|
static |
|
static |
|
static |