Anaphe Home Page Reference Documentation

Main Page     Namespaces     Classes     Source Code    

HTL_std.h

Go to the documentation of this file.
00001 #ifndef _HTLSTD_H_
00002 #define _HTLSTD_H_ 1
00003 
00004 // Switch off std namespace depending on platform
00005 // Hp aCC and Sun CC 4.2 do not support std
00006 
00007 #if defined __hpux || (defined __sun && __SUNPRO_CC < 0x500)
00008   #define HTL_STD 
00009   #define HTL_STREAM_STD 
00010   #include <iostream.h>
00011   #include <fstream.h>
00012   #include <iomanip.h>
00013   #ifdef WIN32
00014     #include <strstrea.h>
00015   #else
00016     #include <strstream.h>
00017   #endif
00018 #else
00019 // We want std:: prefix but ooddlx < V 6.0 does not like it
00020 // This has been checked on Solaris 2.7 only
00021   #ifndef OO_DDL_TRANSLATION 
00022     #define HTL_STD std
00023     #define HTL_STREAM_STD std
00024   #else
00025     #if defined( __sun) && OO_VERSION_MAJOR > 5
00026       #define HTL_STD std
00027       #define HTL_STREAM_STD std
00028     #else
00029       #define HTL_STD 
00030       #define HTL_STREAM_STD 
00031     #endif
00032   #endif
00033   #include <iostream>
00034   #include <fstream>
00035   #include <iomanip>
00036   #include <strstream>
00037 #endif
00038 
00039 #define HTL_OUT(sss) HTL_STREAM_STD::cout << sss << HTL_STREAM_STD::endl;
00040 #define HTL_ERR(sss) HTL_STREAM_STD::cerr << sss << HTL_STREAM_STD::endl;
00041 
00042 #endif // _HTLSTD_H_


Anaphe documentation generated by Doxygen (www.doxygen.org)