streams.hpp
Go to the documentation of this file.
1 #ifndef __streams_hpp__
2 #define __streams_hpp__
3 
4 #include "Istream.hpp"
5 
6 #include "Ostream.hpp"
7 
8 #include "iFstream.hpp"
9 
10 #include "oFstream.hpp"
11 
12 #include "oTstream.hpp"
13 
14 #include "iTstream.hpp"
15 
16 namespace pFlow
17 {
18 
19 
20  extern Ostream output;
21 
22  extern Istream input;
23 
24  extern Ostream errReport;
25 
26 
27 }
28 
29 #define redText(text) redColor<<text<<defaultColor
30 #define yellowText(text) yellowColor<<text<<defaultColor
31 #define blueText(text) blueColor<<text<<defaultColor
32 #define greenText(text) greenColor<<text<<defaultColor
33 #define magentaText(text) magentaColor<<text<<defaultColor
34 #define cyanText(text) cyanColor<<text<<defaultColor
35 #define boldText(text) boldChar<<text<<defaultColor
36 
37 #define INFORMATION pFlow::output<<boldChar<<magentaColor<<"> INFO: "<<defaultColor<<magentaColor
38 #define endINFO defaultColor<<pFlow::nl
39 
40 #define REPORT(n) pFlow::output.space(2*n)
41 #define endREPORT pFlow::nl
42 
43 
44 #define yWARNING pFlow::output<<boldChar<<yellowColor<<"> WARNING\n"<<defaultColor<<yellowColor<<" "
45 #define endyWARNING defaultColor<<pFlow::nl
46 
47 #define ERR pFlow::output<<boldChar<<redColor<<"> ERROR\n"<<defaultColor<<redColor<<" "
48 #define endERR defaultColor<<pFlow::nl
49 
50 #endif
Ostream.hpp
iTstream.hpp
oTstream.hpp
pFlow::input
Istream input
Istream.hpp
oFstream.hpp
pFlow
Definition: demComponent.hpp:28
pFlow::output
Ostream output
pFlow::errReport
Ostream errReport
iFstream.hpp