The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
debugOut.inc
Go to the documentation of this file.
1 /**
2  * @file debugOut.inc
3  * file name: debugOut.inc
4  * @author Betti Oesterholz
5  * @date 04.02.2010
6  * @mail webmaster@BioKom.info
7  *
8  * System: C++
9  *
10  * This includefile contains the definitions vor debugoutput.
11  *
12  * Copyright (C) @c GPL3 2009 Betti Oesterholz
13  *
14  * This program is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation, either version 3 of the License, or
17  * any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program. If not, see <http://www.gnu.org/licenses/>.
26  *
27  *
28  * This includefile contains the definitions vor debugoutput.
29  *
30  */
31 /*
32 History:
33 01.11.2009 Oesterholz created
34 */
35 
36 #ifndef ___DEBUG_OUT_H__
37 #define ___DEBUG_OUT_H__
38 
39 #ifdef DEBUG
40 
41 
42 #include <iostream>
43 
44 using namespace std;
45 
46 //higher level (L) less serios output
47 
48 //debugoutputs
49 #define DEBUG_OUT_L1( X ) cout X
50 #define DEBUG_OUT_L2( X ) cout X
51 #define DEBUG_OUT_L3( X ) cout X
52 #define DEBUG_OUT_L4( X ) cout X
53 
54 //error outputs
55 #define DEBUG_OUT_EL1( X ) cerr X
56 #define DEBUG_OUT_EL2( X ) cerr X
57 #define DEBUG_OUT_EL3( X ) cerr X
58 #define DEBUG_OUT_EL4( X ) cerr X
59 
60 
61 #else //DEBUG
62 //dummy: comment out the debugging code
63 
64 //debugoutputs
65 #define DEBUG_OUT_L1( X )
66 #define DEBUG_OUT_L2( X )
67 #define DEBUG_OUT_L3( X )
68 #define DEBUG_OUT_L4( X )
69 
70 //error outputs
71 #define DEBUG_OUT_EL1( X )
72 #define DEBUG_OUT_EL2( X )
73 #define DEBUG_OUT_EL3( X )
74 #define DEBUG_OUT_EL4( X )
75 
76 
77 #endif //DEBUG
78 
79 
80 
81 
82 #endif
83 
84 
85 
86