#include <designbycontract.h>
Inheritance diagram for DesignByContract:

Public Member Functions | |
| virtual bool | isValid () const |
| Design-by-contract consistency checking. | |
Static Public Member Functions | |
| void | __throw_error_ (const char *file, const int line, const char *expr, const char *type) |
| Abort program and show error message. | |
| void | __report_Message_ (const char *file, const int line, const char *msg) |
Base class for all objects in the system. All classes inheriting from this class need to define a method IsValid. This method should perform a consistency check on the state of the object. Note that this method needs to be defined only when a debug build is made.
|
||||||||||||||||||||
|
Abort program and show error message. This routine may need to be changed for different console/interface scenarios |
|
|
Design-by-contract consistency checking. All classes inheriting from this class need to define a method IsValid. This method should perform a consistency check on the state of the object. Note that this method needs to be defined only when a debug build is made. Reimplemented in SteamCalculator.
|
1.3.8