9 #ifndef _fei_iostream_hpp_
10 #define _fei_iostream_hpp_
12 #include "fei_macros.hpp"
29 #ifdef FEI_HAVE_IOSTREAM
31 #define FEI_OSTREAM std::ostream
32 #define FEI_ISTREAM std::istream
33 #define FEI_COUT std::cout
34 #define FEI_ENDL std::endl
35 #elif defined(FEI_HAVE_IOSTREAM_H)
37 #define FEI_OSTREAM ostream
38 #define FEI_ISTREAM istream
42 #error "must have <iostream> or <iostream.h>"
46 #ifdef FEI_HAVE_IOMANIP
48 #elif defined (FEI_HAVE_IOMANIP_H)
52 #ifdef FEI_HAVE_STD_IOS_FMTFLAGS
54 #define IOS_FMTFLAGS std::ios_base::fmtflags
55 #define IOS_SCIENTIFIC std::ios_base::scientific
56 #define IOS_FLOATFIELD std::ios_base::floatfield
57 #define IOS_FIXED std::ios_base::fixed
58 #define IOS_APP std::ios_base::app
59 #define IOS_OUT std::ios_base::out
63 #define IOS_FMTFLAGS long
64 #define IOS_SCIENTIFIC ios::scientific
65 #define IOS_FLOATFIELD ios::floatfield
66 #define IOS_FIXED ios::fixed
67 #define IOS_APP ios::app
68 #define IOS_OUT ios::out
70 #ifdef FEI_IOS_FMTFLAGS
72 #define IOS_FMTFLAGS ios::fmtflags
78 #include <fei_console_ostream.hpp>