assert#
Fully qualified name: carb::assert
-
namespace assert#
Namespace for all assertion checking helpers and interfaces.
Functions#
- void deregisterAssertForClient() noexcept
Removes the global instance of the IAssert interface.
- bool disableDialog(bool disable)
Disables the assertion failure dialog for the process.
- uint64_t getFailureCount()
Retrieves the current assertion failure count for the calling process.
- void registerAssertForClient() noexcept
Registers the IAssert implementation with the calling module.
- bool showToConsole(bool enabled)
Sets whether a message should be printed out to the console on a failed assertion.
- bool useBreakpoint(bool enabled)
Sets whether the software breakpoint for a failed assertion should be triggered.
Structs#
- IAssert
Interface to provide functionality to display assertion failures in greater detail.
Typedefs#
- AssertFlags
Base type for the flags that control the behavior of CARB_ASSERT() and CARB_CHECK() failure reporting.
Variables#
- constexpr AssertFlags fAssertNoConsole
Flag to indicate that the assertion should not produce any console output.
- constexpr AssertFlags fAssertSkipBreakpoint
Flag to indicate that the software breakpoint that is triggered on a failing assertion is to be ignored.
- constexpr AssertFlags fAssertSkipDialog
Flag to indicate that the assertion confirmation dialog should always be skipped for this process.