#include <eassert.h>

Public Member Functions | |
| AssertionFailure (const std::string &file, size_t line, const std::string &func, const std::string &exp, const std::string &msg) | |
| Create a new AssertionFailure. | |
| std::string | errmsg () const |
| std::string | get_file () const |
| size_t | get_line () const |
| std::string | get_func () const |
| std::string | get_exp () const |
| cwidget::util::AssertionFailure::AssertionFailure | ( | const std::string & | file, | |
| size_t | line, | |||
| const std::string & | func, | |||
| const std::string & | exp, | |||
| const std::string & | msg | |||
| ) |
Create a new AssertionFailure.
| file | The file in which the failing assertion occurred. | |
| line | The line on which the failing assertion occurred. | |
| func | The function in which the failing assertion occurred. | |
| exp | The failing assertion. | |
| msg | An extra message to include in the assertion. |
| std::string cwidget::util::AssertionFailure::get_file | ( | ) | const [inline] |
| size_t cwidget::util::AssertionFailure::get_line | ( | ) | const [inline] |
| std::string cwidget::util::AssertionFailure::get_func | ( | ) | const [inline] |
| std::string cwidget::util::AssertionFailure::get_exp | ( | ) | const [inline] |
1.5.6