BloombergLP::bsls::AssertViolation

This class is an unconstrained in-core value-semantic class that characterizes the details of a assert failure that has occurred.

Synopsis

Declared in <bsls_assert.h>

class AssertViolation;

Member Functions

NameDescription
AssertViolation [constructor]Create a AssertViolation with the specified comment, fileName, lineNumber, and assertLevel. Note that the supplied assertLevel will usually be one of the k_LEVEL constants defined in bsls::Assert
assertLevel Return the assertLevel attribute of this object.
comment Return the comment attribute of this object.
fileName Return the fileName attribute of this object.
lineNumber Return the lineNumber attribute of this object.