00001 // @(#)root/base:$Id: Riosfwd.h 20877 2007-11-19 11:17:07Z rdm $ 00002 // Author: Fons Rademakers 23/1/02 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_Riosfwd 00013 #define ROOT_Riosfwd 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // Riosfwd // 00019 // // 00020 // This headers is only supposed to be used in header files. // 00021 // Never in sources, in source files use the companion Riostream.h. // 00022 // // 00023 ////////////////////////////////////////////////////////////////////////// 00024 00025 #ifndef ROOT_RConfig 00026 #include "RConfig.h" 00027 #endif 00028 00029 #if defined(R__ANSISTREAM) 00030 # if defined(R__TMPLTSTREAM) 00031 # include <iostream> 00032 # else 00033 # include <iosfwd> 00034 # endif 00035 using std::istream; 00036 using std::ostream; 00037 using std::fstream; 00038 using std::ifstream; 00039 using std::ofstream; 00040 #else 00041 class istream; 00042 class ostream; 00043 class fstream; 00044 class ifstream; 00045 class ofstream; 00046 #endif 00047 00048 #endif