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

Synopsis

Declared in <bsls_review.h>

class ReviewViolation;

Member Functions

Name

Description

ReviewViolation [constructor]

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).

comment

Return the comment attribute of this object.

count

Return the count attribute of this object.

fileName

Return the fileName attribute of this object.

lineNumber

Return the lineNumber attribute of this object.

reviewLevel

Return the reviewLevel attribute of this object.

Created with MrDocs