LifeV
LifeDebug.hpp File Reference

Classes for debugging. More...

#include <cstdio>
#include <iosfwd>
#include <sstream>
#include <lifev/core/LifeV.hpp>
+ Include dependency graph for LifeDebug.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  DebugStream
 
class  NdebugStream
 

Namespaces

 LifeV
 Default Physical Solver.
 

Macros

#define LIFEV_FUNCINFO   "[" << __FILE__ << ":" << __LINE__ << "] "
 
#define LIFEV_LINEINFO   "[" << __FILE__ << ":" << __LINE__ << "] "
 
#define debugStream   noDebugStream
 

Typedefs

typedef DebugStream &(* LManipFunction) (DebugStream &)
 
typedef NdebugStream &(* LNManipFunction) (NdebugStream &)
 

Functions

template<typename T >
DebugStream & operator<< (DebugStream &stream, T const *data)
 
NdebugStream & perror (NdebugStream &s)
 
NdebugStream & endl (NdebugStream &s)
 
NdebugStream & flush (NdebugStream &s)
 
NdebugStream noDebugStream (int=0, NdebugStream::stprintf=&printf)
 
DebugStream Warning (int area=0)
 
DebugStream Warning (bool cond, int area=0)
 
DebugStream Error (int area=0)
 
DebugStream Error (bool cond, int area=0)
 
DebugStream Fatal (int area=0)
 
DebugStream Fatal (bool cond, int area=0)
 
LifeV::DebugStreamperror (LifeV::DebugStream &s)
 
LifeV::DebugStreamendl (LifeV::DebugStream &s)
 
LifeV::DebugStreamflush (LifeV::DebugStream &s)
 

Detailed Description

Classes for debugging.

Date
13-12-2010
Author
Christophe Prud'homme chris.nosp@m.toph.nosp@m.e.pru.nosp@m.dhom.nosp@m.me@ep.nosp@m.fl.c.nosp@m.h
Maintainer:
Radu Popescu radu..nosp@m.pope.nosp@m.scu@e.nosp@m.pfl..nosp@m.ch

Definition in file LifeDebug.hpp.

Macro Definition Documentation

◆ LIFEV_FUNCINFO

#define LIFEV_FUNCINFO   "[" << __FILE__ << ":" << __LINE__ << "] "

Definition at line 58 of file LifeDebug.hpp.

◆ LIFEV_LINEINFO

#define LIFEV_LINEINFO   "[" << __FILE__ << ":" << __LINE__ << "] "

Definition at line 61 of file LifeDebug.hpp.

◆ debugStream

#define debugStream   noDebugStream

Definition at line 182 of file LifeDebug.hpp.

Function Documentation

◆ perror()

Definition at line 489 of file LifeDebug.cpp.

◆ endl()

Definition at line 495 of file LifeDebug.cpp.

◆ flush()

Definition at line 501 of file LifeDebug.cpp.