stdstreams.hh
Go to the documentation of this file.00001 // $Id: stdstreams.hh 4676 2006-08-04 11:11:58Z christi $ 00002 00003 /* 00004 00005 Declaration of standard Dune-library streams 00006 00007 */ 00008 00009 #ifndef DUNE_COMMON_STDSTREAMS_HH 00010 #define DUNE_COMMON_STDSTREAMS_HH 00011 00012 #include "debugstream.hh" 00013 00014 namespace Dune { 00015 00066 static const DebugLevel MINIMAL_DEBUG_LEVEL = DUNE_MINIMAL_DEBUG_LEVEL; 00067 00072 static const DebugLevel VERY_VERBOSE_DEBUG_LEVEL = 1; 00073 00078 typedef DebugStream<VERY_VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DVVerbType; 00079 00088 extern DVVerbType dvverb; 00089 00094 static const DebugLevel VERBOSE_DEBUG_LEVEL = 2; 00095 00100 typedef DebugStream<VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DVerbType; 00101 00103 extern DVerbType dverb; 00104 00109 static const DebugLevel INFO_DEBUG_LEVEL = 3; 00110 00115 typedef DebugStream<INFO_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DInfoType; 00116 00123 extern DInfoType dinfo; 00124 00129 static const DebugLevel WARN_DEBUG_LEVEL = 4; 00130 00135 typedef DebugStream<WARN_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DWarnType; 00136 00138 extern DWarnType dwarn; 00139 00144 static const DebugLevel GRAVE_DEBUG_LEVEL = 5; 00145 00147 typedef DebugStream<GRAVE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DGraveType; 00148 00150 extern DGraveType dgrave; 00151 00153 typedef DebugStream<1> DErrType; 00154 00162 extern DErrType derr; 00163 00165 } 00166 00167 #endif