|
MU Library
|
The VdmaError class represents an error that can occur during vector operations. More...
#include <vector_error.hpp>
Public Member Functions | |
| VdmaError ()=default | |
| ~VdmaError ()=default | |
| bool | isSuccessful () const |
| Check if the vector operation was successful. More... | |
| bool | isUnderflowed () const |
| Check if the vector function has encountered at least one underflow error. More... | |
| bool | isOverflowed () const |
| Check if the vector function has encountered at least one overflow error. More... | |
| bool | isNan () const |
| Check if the vector function has encountered at least one NaN error. More... | |
| bool | isOutOfRange () const |
| Check if the vector function received an out-of-range index parameter. More... | |
| bool | isInvalidAddress () const |
| Check if the vector function input parameter has some invalid addresses. More... | |
| bool | isInvalidOperation () const |
| Check if the vector operation was invalid. More... | |
| bool | isDeprecated () const |
| Check if the vector operation is deprecated. More... | |
| bool | isNotSupported () const |
| Check if the vector operation is not supported. More... | |
| VdmaError & | setUnderflowed () |
| VdmaError & | setOverflowed () |
| VdmaError & | setNan () |
| VdmaError & | setOutOfRange () |
| VdmaError & | setInvalidAddress () |
| VdmaError & | setInvalidOperation () |
| VdmaError & | setDeprecated () |
| VdmaError & | setNotSupported () |
| VdmaError & | clear () |
The VdmaError class represents an error that can occur during vector operations.
This class provides methods to check and set various error states that may occur during vector operations, such as underflow, overflow, NaN, out-of-range, and more.
Definition at line 17 of file vector_error.hpp.
|
default |
|
default |
| VdmaError& mu::vector::VdmaError::clear | ( | ) |
| bool mu::vector::VdmaError::isDeprecated | ( | ) | const |
Check if the vector operation is deprecated.
This method returns true if the operation used is deprecated.
| bool mu::vector::VdmaError::isInvalidAddress | ( | ) | const |
Check if the vector function input parameter has some invalid addresses.
This method returns true if an invalid address error occurred during the vector operation.
| bool mu::vector::VdmaError::isInvalidOperation | ( | ) | const |
Check if the vector operation was invalid.
This method returns true if an invalid operation error occurred during the vector operation.
| bool mu::vector::VdmaError::isNan | ( | ) | const |
Check if the vector function has encountered at least one NaN error.
This method returns true if a NaN error occurred during the vector operation.
| bool mu::vector::VdmaError::isNotSupported | ( | ) | const |
Check if the vector operation is not supported.
This method returns true if the operation is not supported.
| bool mu::vector::VdmaError::isOutOfRange | ( | ) | const |
Check if the vector function received an out-of-range index parameter.
This method returns true if an out-of-range error occurred during the vector operation.
| bool mu::vector::VdmaError::isOverflowed | ( | ) | const |
Check if the vector function has encountered at least one overflow error.
This method returns true if an overflow error occurred during the vector operation.
| bool mu::vector::VdmaError::isSuccessful | ( | ) | const |
Check if the vector operation was successful.
This method returns true if no errors were encountered during the vector operation.
| bool mu::vector::VdmaError::isUnderflowed | ( | ) | const |
Check if the vector function has encountered at least one underflow error.
This method returns true if an underflow error occurred during the vector operation.
| VdmaError& mu::vector::VdmaError::setDeprecated | ( | ) |
| VdmaError& mu::vector::VdmaError::setInvalidAddress | ( | ) |
| VdmaError& mu::vector::VdmaError::setInvalidOperation | ( | ) |
| VdmaError& mu::vector::VdmaError::setNan | ( | ) |
| VdmaError& mu::vector::VdmaError::setNotSupported | ( | ) |
| VdmaError& mu::vector::VdmaError::setOutOfRange | ( | ) |
| VdmaError& mu::vector::VdmaError::setOverflowed | ( | ) |
| VdmaError& mu::vector::VdmaError::setUnderflowed | ( | ) |