|
BitShift Validate 0.1.0
BitShift Validate API Reference Documentation
|
#include <bitshift/validate/failure.hxx>
Public Member Functions | |
| binary_assertion_failure (string message, string file, uint32_t line, string lhs_expr, string lhs_val, string rhs_expr, string rhs_val) | |
| binary_assertion_failure (binary_assertion_failure const &)=delete | |
| binary_assertion_failure (binary_assertion_failure &&)=delete | |
| string const & | get_file () const |
| uint32_t | get_line () const |
| string const & | get_lhs_expr () const |
| string const & | get_lhs_val () const |
| string const & | get_rhs_expr () const |
| string const & | get_rhs_val () const |
| void | report (reporter &) const override |
| binary_assertion_failure & | operator= (binary_assertion_failure const &)=delete |
| binary_assertion_failure & | operator= (binary_assertion_failure &&)=delete |
| Public Member Functions inherited from bitshift::validate::assertion_failure | |
| virtual | ~assertion_failure () noexcept=default |
Additional Inherited Members | |
| Protected Member Functions inherited from bitshift::validate::assertion_failure | |
| assertion_failure ()=default | |
| assertion_failure (assertion_failure const &)=delete | |
| assertion_failure (assertion_failure &&)=delete | |
| assertion_failure & | operator= (assertion_failure const &)=delete |
| assertion_failure & | operator= (assertion_failure &&)=delete |
Indicates a binary assertion failure.
| bitshift::validate::binary_assertion_failure::binary_assertion_failure | ( | string | message, |
| string | file, | ||
| uint32_t | line, | ||
| string | lhs_expr, | ||
| string | lhs_val, | ||
| string | rhs_expr, | ||
| string | rhs_val ) |
Constructor.
| message | The assertion failure message. |
| file | The file in which the assertion failure occurred. |
| line | The line on which the assertion failure occurred. |
| lhs_expr | The left-hand side expression that caused the assertion failure. |
| lhs_val | The left-hand side expression value that caused the assertion failure. |
| rhs_expr | The right-hand side expression that caused the assertion failure. |
| rhs_val | The right-hand side expression value that caused the assertion failure. |
|
delete |
Copy-construction is disabled.
|
delete |
Move-construction is disabled.
| string const & bitshift::validate::binary_assertion_failure::get_file | ( | ) | const |
Get file.
| uint32_t bitshift::validate::binary_assertion_failure::get_line | ( | ) | const |
Get line.
| string const & bitshift::validate::binary_assertion_failure::get_lhs_expr | ( | ) | const |
Get left-hand side expression.
| string const & bitshift::validate::binary_assertion_failure::get_lhs_val | ( | ) | const |
Get left-hand side expression value.
| string const & bitshift::validate::binary_assertion_failure::get_rhs_expr | ( | ) | const |
Get right-hand side expression.
| string const & bitshift::validate::binary_assertion_failure::get_rhs_val | ( | ) | const |
Get right-hand side expression value.
|
overridevirtual |
Report assertion failure.
| r | The reporter. |
Implements bitshift::validate::assertion_failure.
|
delete |
Copy-assignment is disabled.
|
delete |
Move-assignment is disabled.