|
BDE 4.39.x Production Release
|
#include <bsls_preconditions.h>
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.
Public Types | |
| typedef void(* | PreconditionHandlerType) () |
Static Public Member Functions | |
| static PreconditionHandlerType | getBeginHandler () |
| static PreconditionHandlerType | getEndHandler () |
| static void | installHandlers (PreconditionHandlerType beginHandler, PreconditionHandlerType endHandler) |
| static void | invokeBeginHandler () |
| static void | invokeEndHandler () |
| static void | noOpHandler () |
| typedef void(* bsls::PreconditionsHandler::PreconditionHandlerType) () |
PreconditionHandlerType is an alias for a pointer to a function returning void and taking no parameters.
|
static |
Return the previously installed s_beginHandler.
|
static |
Return the previously installed s_endHandler.
|
static |
Store the specified beginHandler and endHandler function pointers to the static member variables.
|
static |
Invoke the previously installed s_beginHandler function.
|
static |
Invoke the previously installed s_endHandler function.
|
static |
Do nothing.