TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
debugAssert.cpp File Reference
#include "G3D/debugAssert.h"
#include "G3D/platform.h"
#include "G3D/format.h"
#include "G3D/prompt.h"
#include <string>
#include "G3D/debugPrintf.h"
#include "G3D/Log.h"
#include <cstdlib>
+ Include dependency graph for debugAssert.cpp:

Namespaces

 G3D
 
 G3D::_internal
 

Functions

static void G3D::_internal::createErrorMessage (const char *expression, const std::string &message, const char *filename, int lineNumber, std::string &outTitle, std::string &outMessage)
 
bool G3D::_internal::_handleDebugAssert_ (const char *expression, const std::string &message, const char *filename, int lineNumber, bool useGuiPrompt)
 
bool G3D::_internal::_handleErrorCheck_ (const char *expression, const std::string &message, const char *filename, int lineNumber, bool useGuiPrompt)
 
void G3D::_internal::_releaseInputGrab_ ()
 
void G3D::_internal::_restoreInputGrab_ ()
 
void G3D::setAssertionHook (AssertionHook hook)
 
AssertionHook G3D::assertionHook ()
 
void G3D::setFailureHook (AssertionHook hook)
 
AssertionHook G3D::failureHook ()
 
void G3D::setConsolePrintHook (ConsolePrintHook h)
 
ConsolePrintHook G3D::consolePrintHook ()
 
std::string G3D::debugPrint (const std::string &)
 
std::string __cdecl G3D::debugPrintf (const char *fmt...) G3D_CHECK_PRINTF_ARGS
 
std::string G3D::consolePrint (const std::string &)
 
std::string __cdecl G3D::consolePrintf (const char *fmt...) G3D_CHECK_PRINTF_ARGS
 

Detailed Description

Windows implementation of assertion routines.

Morgan McGuire, graphics3d.com

2001-08-26 2009-06-02