www.cemf.ir
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 #include "processorOstream.hpp"
17 
18 #include "masterOstream.hpp"
19 
20 namespace pFlow
21 {
22 
23  extern Ostream output;
24 
25  extern masterOstream mOutput;
26 
27  extern processorOstream pOutput;
28 
29  extern Istream input;
30 
31  extern processorOstream errReport;
32 
33 }
34 
35 
36 #define INFORMATION pFlow::pOutput.setColor(boldChar).setColor(magentaColor)<<"> INFO: "<<defaultColor<<magentaColor
37 #define END_INFO defaultColor<<pFlow::endl
38 
39 #define REPORT(n) pFlow::mOutput.space(2*n)
40 #define END_REPORT pFlow::endl
41 
42 
43 #define WARNING pFlow::errReport<<boldChar<<yellowColor<<"> WARNING\n"<<defaultColor<<yellowColor<<" "
44 #define END_WARNING defaultColor<<pFlow::endl
45 
46 #define ERR pFlow::errReport<<boldChar<<redColor<<"> ERROR\n"<<defaultColor<<redColor<<" "
47 #define END_ERR defaultColor<<pFlow::endl
48 
49 #endif
Ostream.hpp
pFlow::pOutput
processorOstream pOutput
iTstream.hpp
pFlow::mOutput
masterOstream mOutput
oTstream.hpp
pFlow::input
Istream input
Istream.hpp
oFstream.hpp
pFlow
Definition: demGeometry.hpp:27
pFlow::errReport
processorOstream errReport
pFlow::output
Ostream output
iFstream.hpp
masterOstream.hpp
processorOstream.hpp