Preprocessor Macros

In the C and C++ API we use a fair number of preprocessor macros and define constants. They are listed below.

PB_THIS_FILE Governs the pooling of filename strings in logging calls.

PB_LOC_*** Used to manage the prototyping and calling of functions that take location information (filename and line number).

PB_VERBOSE, PB_INFO, … Location / type macros used when calling logging functions.

PB_DEBUG_LEVEL Similar to the standard _DEBUG macro. Governs behavior of PB_DEFAULT_EXCLUDE and VALIDATE.

PB_DEFAULT_EXCLUDE Default prefilter flags used by the CPBComponent, CPBContext, and CPBLogger classes.

ENSURE,Our answer to MFC’s ASSERT and VERIFY macros.