Diana Software
Namespaces | Macros | Functions
QDianaDebug.hh File Reference

Go to the source code of this file.

Namespaces

 std
 
 Diana
 the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our software.
 

Macros

#define DianaThrow(obj)
 

Functions

void Diana::SetDianaDebug (bool value)
 
bool Diana::GetDianaDebug ()
 
void Diana::Abort (const QError &err)
 
void Diana::Abort (std::exception &ex)
 
void Diana::Abort (const std::string &str)
 
void Diana::Abort (...)
 
void diana_stacktrace (std::ostream &o=std::cout, size_t MaxLines=63)
 

Macro Definition Documentation

◆ DianaThrow

#define DianaThrow (   obj)
Value:
{\
std::cout << "Debug Abort is set" << std::endl;\
} else {\
throw(obj);\
}\
}
bool DianaDebug
Definition: QDianaDebug.cc:16
void Abort(const QError &err)
Definition: QDianaDebug.cc:23

Definition at line 26 of file QDianaDebug.hh.

Function Documentation

◆ diana_stacktrace()

void diana_stacktrace ( std::ostream &  o = std::cout,
size_t  MaxLines = 63 
)

Definition at line 74 of file QDianaDebug.cc.

Referenced by Diana::Abort(), and main().