1 |
– |
// $Id$ |
2 |
– |
|
3 |
– |
#ifndef DATAUTIL_DEBUG_H |
4 |
– |
#define DATAUTIL_DEBUG_H |
5 |
– |
|
6 |
– |
#include <Rtypes.h> |
7 |
– |
#include <TError.h> |
8 |
– |
|
1 |
|
//-------------------------------------------------------------------------------------------------- |
2 |
+ |
// $Id$ |
3 |
|
// |
4 |
|
// Debug |
5 |
|
// |
13 |
|
// Please, do not introduce more levels! |
14 |
|
// |
15 |
|
// Authors: C.Loizides |
23 |
– |
// |
16 |
|
//-------------------------------------------------------------------------------------------------- |
17 |
|
|
18 |
< |
namespace mithep { |
18 |
> |
#ifndef DATAUTIL_DEBUG_H |
19 |
> |
#define DATAUTIL_DEBUG_H |
20 |
> |
|
21 |
> |
#include <Rtypes.h> |
22 |
> |
#include <TError.h> |
23 |
> |
|
24 |
> |
namespace mithep |
25 |
> |
{ |
26 |
|
class Debug |
27 |
|
{ |
28 |
|
public: |
39 |
|
virtual ~Debug() {} |
40 |
|
Debug(const Debug &cpy); |
41 |
|
|
42 |
< |
ClassDef(Debug, 0) // Defines different debug masks |
43 |
< |
}; |
42 |
> |
ClassDef(Debug, 0) // Defines different debug masks |
43 |
> |
}; |
44 |
|
} |
45 |
|
|
46 |
|
R__EXTERN mithep::Debug::EDebugMask gDebugMask; |
55 |
|
#define MitAssertStatic(f,e) \ |
56 |
|
if (!(e)) ::Fatal(f, kAssertMsg, _QUOTE_(e), __LINE__, __FILE__) |
57 |
|
|
58 |
< |
#endif /*DATAUTIL_DEBUG_H*/ |
58 |
> |
#endif |