RAII checker for invariant assertions.
More...
#include <Common.h>
RAII checker for invariant assertions.
Definition at line 237 of file Common.h.
dev::InvariantChecker::InvariantChecker |
( |
HasInvariants * |
_this, |
|
|
char const * |
_fn, |
|
|
char const * |
_file, |
|
|
int |
_line |
|
) |
| |
|
inline |
dev::InvariantChecker::~InvariantChecker |
( |
| ) |
|
|
inline |
void dev::InvariantChecker::checkInvariants |
( |
HasInvariants const * |
_this, |
|
|
char const * |
_fn, |
|
|
char const * |
_file, |
|
|
int |
line, |
|
|
bool |
_pre |
|
) |
| |
|
static |
Check invariants are met, throw if not.
Definition at line 40 of file Common.cpp.
char const* dev::InvariantChecker::m_file |
|
private |
char const* dev::InvariantChecker::m_function |
|
private |
int dev::InvariantChecker::m_line |
|
private |
The documentation for this class was generated from the following files: