Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bsls::ReviewViolation Class Reference

#include <bsls_review.h>

List of all members.

Public Member Functions

BSLS_KEYWORD_CONSTEXPR ReviewViolation (const char *comment, const char *fileName, int lineNumber, const char *reviewLevel, int count)
const char * comment () const
int count () const
const char * fileName () const
int lineNumber () const
const char * reviewLevel () const

Detailed Description

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

See Component bsls_review


Constructor & Destructor Documentation

BSLS_KEYWORD_CONSTEXPR bsls::ReviewViolation::ReviewViolation ( const char *  comment,
const char *  fileName,
int  lineNumber,
const char *  reviewLevel,
int  count 
)

Create a ReviewViolation with the specified comment, fileName, lineNumber, reviewLevel, and count. Note that the supplied reviewLevel will usually be one of the k_LEVEL constants defined in bsls::Review (or see bsls::Assert for the levels that will be passed for assertions that are being reviewed).


Member Function Documentation

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

Return the comment attribute of this object.

int bsls::ReviewViolation::count (  )  const

Return the count attribute of this object.

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

Return the fileName attribute of this object.

int bsls::ReviewViolation::lineNumber (  )  const

Return the lineNumber attribute of this object.

const char* bsls::ReviewViolation::reviewLevel (  )  const

Return the reviewLevel attribute of this object.


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