Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

cmt_std.h

Go to the documentation of this file.
00001 //-----------------------------------------------------------
00002 // Copyright Christian Arnault LAL-Orsay CNRS
00003 // arnault@lal.in2p3.fr
00004 // See the complete license in cmt_license.txt "http://www.cecill.info". 
00005 //-----------------------------------------------------------
00006 
00007 #ifndef __cmt_std_h__
00008 #define __cmt_std_h__
00009 
00010 #ifndef WIN32
00011 #ifndef linux
00012 #define OLD_HEADERS 1
00013 #endif
00014 #endif
00015 
00016 #ifdef OLD_HEADERS
00017 
00018 #ifdef WIN32
00019 #include <ios.h>
00020 #include <iomanip.h>
00021 #endif
00022 #include <iostream.h>
00023 #include <fstream.h>
00024 
00025 #define int_type int
00026 
00027 #else
00028 
00029 #include <iomanip>
00030 #include <iostream>
00031 #include <fstream>
00032 
00033 #define cout std::cout
00034 #define cerr std::cerr
00035 #define endl std::endl
00036 #define ofstream std::ofstream
00037 #define ifstream std::ifstream
00038 #define istream std::istream
00039 #define ostream std::ostream
00040 #define ios std::ios
00041 #define ios_base std::ios_base
00042 #define streambuf std::streambuf
00043 #define setw std::setw
00044 
00045 #endif
00046 
00047 #ifdef sun
00048 #ifndef _BOOL
00049 #undef NEED_BOOL
00050 #define NEED_BOOL
00051 #endif
00052 #endif
00053 
00054 #ifdef NEED_BOOL
00055 typedef enum { false, true } bool;
00056 #endif
00057 
00058 #endif

Generated on Mon May 2 10:25:05 2005 for CMT by doxygen 1.3.5