LifeV
LifeAssertSmart.cpp File Reference

Complex assertion mechanism. More...

#include <cstdlib>
#include <fstream>
#include <stdexcept>
#include <lifev/core/util/LifeAssertSmart.hpp>
+ Include dependency graph for LifeAssertSmart.cpp:

Go to the source code of this file.

Data Structures

struct  StreamHolder
 
struct  assertInitializer
 

Namespaces

 LifeV
 Default Physical Solver.
 
 LifeV::anonymous_namespace{LifeAssertSmart.cpp}
 
 LifeV::SmartAssert
 
 LifeV::Private
 

Functions

void breakIntoDebugger ()
 
std::string getTypeofLevel (int nLevel)
 
void dumpContextSummary (const AssertContext &context, std::ostream &out)
 
void dumpContextDetail (const AssertContext &context, std::ostream &out)
 
void defaultLogger (const AssertContext &context)
 
void defaultWarnHandler (const AssertContext &context)
 
void defaultDebugHandler (const AssertContext &context)
 
void defaultErrorHandler (const AssertContext &context)
 
void defaultFatalHandler (const AssertContext &context)
 
void initAssert ()
 
void setDefaultLogStream (std::ostream &out)
 
void setDefaultLogName (const char *str)
 

Variables

StreamHolder defaultLoggerInfo
 
struct LifeV::anonymous_namespace{LifeAssertSmart.cpp}::assertInitializer init
 

Detailed Description

Complex assertion mechanism.

Date
16-01-2005
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 LifeAssertSmart.cpp.

Function Documentation

◆ breakIntoDebugger()

void breakIntoDebugger ( )

Definition at line 45 of file LifeAssertSmart.cpp.