API Documentation
Loading...
Searching...
No Matches
LibAssert Class Reference

The default way to make Assert statements within the NDEVR API. A no-op in release but throws an exception in debug. More...

#include <LibAssert.h>

Static Public Member Functions

static void NAssert (const char *const _Expression, const char *const _Message, const char *const _File, unsigned _Line)
 

Static Public Attributes

static std::function< void(const char *const _Expression, const char *const _Message, const char *const _File, unsigned _Line)> s_assert_callback
 

Detailed Description

The default way to make Assert statements within the NDEVR API. A no-op in release but throws an exception in debug.


Member Function Documentation

◆ NAssert()

static void NAssert ( const char *const _Expression,
const char *const _Message,
const char *const _File,
unsigned _Line )
static

Member Data Documentation

◆ s_assert_callback

std::function<void(const char* const _Expression, const char* const _Message, const char* const _File, unsigned _Line)> s_assert_callback
static

The documentation for this class was generated from the following file: