00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef ROOT_Riostream
00013 #define ROOT_Riostream
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef ROOT_RConfig
00027 #include "RConfig.h"
00028 #endif
00029
00030 #if defined(R__ANSISTREAM)
00031 # include <fstream>
00032 # include <iostream>
00033 # include <iomanip>
00034 using namespace std;
00035 #else
00036 # include <fstream.h>
00037 # include <iostream.h>
00038 # include <iomanip.h>
00039 #endif
00040
00041 #if defined(_MSC_VER) && (_MSC_VER <= 1200)
00042 static std::ostream& operator<<(std::ostream& os, __int64 i)
00043 {
00044 char buf[20];
00045 sprintf(buf,"%I64d", i);
00046 os << buf;
00047 return os;
00048 }
00049
00050 static std::ostream& operator<<(std::ostream& os, unsigned __int64 i)
00051 { return os << (__int64) i; }
00052 #endif
00053
00054 #endif