NCBI C++ ToolKit
Macros | Functions | Variables
test_assert_impl.h File Reference
#include <crtdbg.h>
#include <stdio.h>
#include <windows.h>
#include <dbghelp.h>
#include <assert.h>
+ Include dependency graph for test_assert_impl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define Type   aType
 
#define NOMINMAX
 
#define _ASSERT   assert
 
#define _TROUBLE   do { assert(0); abort(); } while (0)
 

Functions

static LONG CALLBACK _SEH_Handler (EXCEPTION_POINTERS *ep)
 
static int _SuppressDiagPopupMessages (void)
 

Variables

static int(* _SDPM )(void) = _SuppressDiagPopupMessages
 

Macro Definition Documentation

◆ _ASSERT

#define _ASSERT   assert

◆ _TROUBLE

#define _TROUBLE   do { assert(0); abort(); } while (0)

◆ NOMINMAX

#define NOMINMAX

Definition at line 50 of file test_assert_impl.h.

◆ Type

#define Type   aType

Function Documentation

◆ _SEH_Handler()

static LONG CALLBACK _SEH_Handler ( EXCEPTION_POINTERS *  ep)
static

Definition at line 64 of file test_assert_impl.h.

References FALSE, HANDLE, INVALID_HANDLE_VALUE, NULL, strcat, and tmp.

Referenced by _SuppressDiagPopupMessages().

◆ _SuppressDiagPopupMessages()

static int _SuppressDiagPopupMessages ( void  )
static

Definition at line 93 of file test_assert_impl.h.

References _SEH_Handler(), and rapidjson::value.

Variable Documentation

◆ _SDPM

int(* _SDPM) (void) ( void  ) = _SuppressDiagPopupMessages
static

Definition at line 130 of file test_assert_impl.h.

Modified on Fri Apr 26 16:27:54 2024 by modify_doxy.py rev. 669887