Holds assertion information. More...
#include <DwmUnitAssert.hh>
Public Member Functions | |
| Assertion (const std::string &filename, const std::string &function, int line, const std::string &expression) | |
| Constructor. | |
| const std::string & | Filename () |
| Returns the name of the file where the assertion is located. | |
| const std::string & | Function () |
| Returns the function where the assertion is located. | |
| int | Line () const |
| Returns the line number where the assertion is located. | |
| const std::string & | Expression () const |
| Returns the assertion test expression. | |
| bool | operator< (const Assertion &assertion) const |
| operator < | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Assertion &assertion) |
| Prints to an ostream. | |
Holds assertion information.