kleopatra
__KDAB__CheckerImplBase Class Referenceabstract
#include <checker.h>
Inheritance diagram for __KDAB__CheckerImplBase:
Public Member Functions | |
virtual | ~__KDAB__CheckerImplBase () |
virtual void | checkInvariants () const =0 |
Detailed Description
Usage:
class Foo ... {
KDAB_MAKE_CHECKABLE( Foo )
public:
// ...
};
Foo::Foo() {
// ...
}
Foo::~Foo() {
// ...
}
KDAB_DEFINE_CHECKS( Foo ) {
assert( something );
assert( another thing );
}
void Foo::setBar( int bar ) {
KDAB_CHECK_THIS; // include as first line in every method
// ...
}
int Foo::bar() const {
// ...
}
Constructor & Destructor Documentation
|
inlinevirtual |
Member Function Documentation
|
pure virtual |
Implemented in __KDAB__CheckerImpl< T_Class >.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.