test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Riostream.h
Go to the documentation of this file.
1 // @(#)root/base:$Name: $:$Id: Riostream.h,v 1.3 2003/04/14 14:13:19 rdm Exp $
2 // Author: Fons Rademakers 23/1/02
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_Riostream
13 #define ROOT_Riostream
14 
15 #ifndef ROOT_RConfig
16 #include "RConfig.h"
17 #endif
18 
19 #if defined(R__ANSISTREAM)
20 # include <fstream>
21 # include <iostream>
22 # include <iomanip>
23  using namespace std;
24 #else
25 # include <fstream.h>
26 # include <iostream.h>
27 # include <iomanip.h>
28 #endif
29 
30 #if defined(_MSC_VER) && (_MSC_VER <= 1200)
31 static std::ostream& operator<<(std::ostream& os, __int64 i)
32 {
33  char buf[20];
34  sprintf(buf,"%I64d", i);
35  os << buf;
36  return os;
37 }
38 
39 static std::ostream& operator<<(std::ostream& os, unsigned __int64 i)
40 { return os << (__int64) i; }
41 #endif
42 
43 #endif
int i
Definition: DBlmapReader.cc:9
ostream & operator<<(std::ostream &o, vector< std::string > const &iValue)
Definition: refresh.cc:45