1 // @(#)root/base:$Id$ 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_Riosfwd 13 #define ROOT_Riosfwd 14 15 16 ////////////////////////////////////////////////////////////////////////// 17 // // 18 // Riosfwd // 19 // // 20 // This headers is only supposed to be used in header files. // 21 // Never in sources, in source files use the companion Riostream.h. // 22 // // 23 ////////////////////////////////////////////////////////////////////////// 24 25 #ifndef ROOT_RConfig 26 #include "RConfig.h" 27 #endif 28 29 #if defined(R__ANSISTREAM) 30 # if defined(R__TMPLTSTREAM) 31 # include <iostream> 32 # else 33 # include <iosfwd> 34 # endif 35 using std::istream; 36 using std::ostream; 37 using std::fstream; 38 using std::ifstream; 39 using std::ofstream; 40 #else 41 class istream; 42 class ostream; 43 class fstream; 44 class ifstream; 45 class ofstream; 46 #endif 47 48 #endif 49