Determines assertions behavior.
More...
#include <asserts_manager.h>
Determines assertions behavior.
- Author
- Khrapov
- Date
- 4.01.2026
Definition at line 38 of file asserts_manager.h.
◆ do_assert()
| bool qx::asserts_manager::do_assert |
( |
string_view |
svCondition, |
|
|
const category & |
category, |
|
|
assert_type |
eAssertType, |
|
|
string_view |
svUserMessage, |
|
|
string_view |
svFunction, |
|
|
string_view |
svFile, |
|
|
i32 |
nLine |
|
) |
| |
|
inline |
An entry point for all assertions.
- Parameters
-
| svCondition | - a string representation of the condition |
| category | - a category of the assertion (file wide or manually specified) |
| eAssertType | - an assertion type |
| svUserMessage | - formatted user message, if specified |
| svFunction | - assert location function |
| svFile | - assert location file |
| nLine | - assert location line number |
- Return values
-
| - | true if debug break is required |
Definition at line 13 of file asserts_manager.inl.
◆ exit()
| void qx::asserts_manager::exit |
( |
const category & |
category, |
|
|
assert_type |
eAssertType |
|
) |
| |
|
inline |
Called in fatal assertions to exit the application.
- Parameters
-
| category | - a category of the assertion (file wide or manually specified) |
| eAssertType | - an assertion type |
Definition at line 40 of file asserts_manager.inl.
◆ get_config()
◆ set_config()
| void qx::asserts_manager::set_config |
( |
config |
config | ) |
|
|
inline |
The documentation for this class was generated from the following files: