Represents a source line location.
More...
#include <SourceLine.h>
List of all members.
Detailed Description
Represents a source line location.
Used to capture the failure location in assertion.
Use the CPPUNIT_SOURCELINE() macro to construct that object. Typically used when writing an assertion macro in association with Asserter.
- See also:
- Asserter.
Constructor & Destructor Documentation
CPPUNIT_NS_BEGIN SourceLine::SourceLine |
( |
|
) |
|
|
SourceLine::SourceLine |
( |
const std::string & |
fileName, |
|
|
int |
lineNumber |
|
) |
|
|
Member Function Documentation
std::string SourceLine::fileName |
( |
|
) |
const |
|
bool SourceLine::isValid |
( |
|
) |
const |
|
int SourceLine::lineNumber |
( |
|
) |
const |
|
bool SourceLine::operator!= |
( |
const SourceLine & |
other |
) |
const |
|
bool SourceLine::operator== |
( |
const SourceLine & |
other |
) |
const |
|
Member Data Documentation
The documentation for this class was generated from the following files: