Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsls::AssertViolation Class Reference

#include <bsls_assert.h>

List of all members.

Public Member Functions

BSLS_KEYWORD_CONSTEXPR AssertViolation (const char *comment, const char *fileName, int lineNumber, const char *assertLevel)
const char * assertLevel () const
const char * comment () const
const char * fileName () const
int lineNumber () const

Detailed Description

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

See Component bsls_assert


Constructor & Destructor Documentation

BSLS_KEYWORD_CONSTEXPR bsls::AssertViolation::AssertViolation ( const char *  comment,
const char *  fileName,
int  lineNumber,
const char *  assertLevel 
)

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


Member Function Documentation

const char* bsls::AssertViolation::assertLevel (  )  const

Return the assertLevel attribute of this object.

const char* bsls::AssertViolation::comment (  )  const

Return the comment attribute of this object.

const char* bsls::AssertViolation::fileName (  )  const

Return the fileName attribute of this object.

int bsls::AssertViolation::lineNumber (  )  const

Return the lineNumber attribute of this object.


The documentation for this class was generated from the following file: