BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsls::ReviewViolation Class Reference

#include <bsls_review.h>

Public Member Functions

BSLS_KEYWORD_CONSTEXPR ReviewViolation (const char *comment, const char *fileName, int lineNumber, const char *reviewLevel, int count)
 
const char * comment () const
 Return the comment attribute of this object.
 
int count () const
 Return the count attribute of this object.
 
const char * fileName () const
 Return the fileName attribute of this object.
 
int lineNumber () const
 Return the lineNumber attribute of this object.
 
const char * reviewLevel () const
 Return the reviewLevel attribute of this object.
 

Detailed Description

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

See bsls_review

Constructor & Destructor Documentation

◆ ReviewViolation()

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

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

◆ comment()

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

◆ count()

int bsls::ReviewViolation::count ( ) const
inline

◆ fileName()

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

◆ lineNumber()

int bsls::ReviewViolation::lineNumber ( ) const
inline

◆ reviewLevel()

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

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