Assert.cxx File Reference

#include "Assert.hxx"
#include "Err.hxx"
#include <iostream>
#include <cstdlib>
#include <csignal>

Go to the source code of this file.

Namespaces

namespace  CLAM

Functions

std::string CLAM::demangleSymbol (const std::string &mangledName)
void CLAM::DumpBacktrace (std::ostream &os)
static void CLAM::DefaultAssertHandler (const char *message, const char *filename, int lineNumber)
AssertFailedHandlerType CLAM::SetAssertFailedHandler (AssertFailedHandlerType handler)
 Change the handler function called when an assertion fails.
void CLAM::ExecuteAssertFailedHandler (const char *message, const char *filename, int linenumber)
 (Don't use directly, use the CLAM_ASSERT macro instead) Execute the assert failed handler.
static void CLAM::DefaultWarningHandler (const char *message, const char *filename, int lineNumber)
WarningHandlerType CLAM::SetWarningHandler (WarningHandlerType handler)
 Change the handler function called when a warning is given.
void CLAM::ExecuteWarningHandler (const char *message, const char *filename, int linenumber)
 (Don't use directly, use the CLAM_WARNING macro instead) Execute the assert failed handler.

Variables

bool CLAM::disabledCLAMAssertBreakpoint = false
static AssertFailedHandlerType CLAM::CurrentAssertFailedHandler = DefaultAssertHandler
static WarningHandlerType CLAM::CurrentWarningHandler = DefaultWarningHandler
Generated by  doxygen 1.6.3