kleopatra
__KDAB__CheckerImplBase Class Reference
#include <checker.h>
Inheritance diagram for __KDAB__CheckerImplBase:

Detailed Description
Usage:.
class Foo ... { KDAB_MAKE_CHECKABLE( Foo ) public: // ... }; Foo::Foo() { KDAB_CHECK_CTOR; // ... } Foo::~Foo() { KDAB_CHECK_DTOR; // ... } 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 { KDAB_CHECK_THIS; // ... }
Definition at line 68 of file checker.h.
Public Member Functions | |
| virtual void | checkInvariants () const =0 |
| virtual | ~__KDAB__CheckerImplBase () |
Constructor & Destructor Documentation
| virtual __KDAB__CheckerImplBase::~__KDAB__CheckerImplBase | ( | ) | [inline, virtual] |
Member Function Documentation
| virtual void __KDAB__CheckerImplBase::checkInvariants | ( | ) | const [pure virtual] |
Implemented in __KDAB__CheckerImpl< T_Class >.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference