Quick Links: |
#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 |
int | count () const |
const char * | fileName () const |
int | lineNumber () const |
const char * | reviewLevel () const |
This class is an unconstrained in-core value-semantic class that characterizes the details of a review failure that has occurred.
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).
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.