CMagic Class

# CMagic Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]

This is a simple class for debugging More...

`#include <../libInvertedFile/include/CMagic.h>`

## Public Members

- void check ()
- void checkNPrint ()
- CMagic ()
- ~CMagic ()

## Detailed Description

This is a simple class for debugging.It checks if it has been properly initialised

## void check()

This function checks the magic number of this and asserts to zero, if something is wrong

## void checkNPrint()

as check(), but it also prints a small message to cout

## CMagic()

sets the magic number

## ~CMagic()

sets the magic to another value

| Kdoc