4 #include "libMRML/include/uses-declarations.h" CMagic()
sets the magic number to 42
void checkNPrint() const
as check(), but it also prints a small message to cout, saying that the check worked.
~CMagic()
sets the magic number to another value (36)
void check() const
This function checks the magic number of this and asserts to zero, if something is wrong...
This is a simple class for debugging.
Definition: CMagic.h:12