C
SafeRenderer::QSafeAnimationException Class
class SafeRenderer::QSafeAnimationExceptionAn instance of QSafeAnimationException is thrown in case of an exception. More...
| Header: | #include <QSafeAnimationException> |
| Since: | QtSafeRenderer 2.1 |
| Inherits: | SafeRenderer::QSafeException |
Public Types
| enum class | AnimationsException { IndexOutOfBounds, UnsupportedAnimationType, InvalidAnimationData } |
Public Functions
| QSafeAnimationException(SafeRenderer::QSafeAnimationException &&other) | |
| SafeRenderer::QSafeAnimationException & | operator=(SafeRenderer::QSafeAnimationException &&other) |
| SafeRenderer::QSafeAnimationException & | operator=(const SafeRenderer::QSafeAnimationException &other) |
Detailed Description
Instance of this class is thrown when an exception occurs related to animation.
Member Type Documentation
enum class QSafeAnimationException::AnimationsException
This enum describes the id of a thrown animation exception.
| Constant | Value | Description |
|---|---|---|
SafeRenderer::QSafeAnimationException::AnimationsException::IndexOutOfBounds | 0 | The index is out of bounds. |
SafeRenderer::QSafeAnimationException::AnimationsException::UnsupportedAnimationType | 1 | The type of the animation is not supported. |
SafeRenderer::QSafeAnimationException::AnimationsException::InvalidAnimationData | 2 | The animation data is invalid. |
Member Function Documentation
[constexpr noexcept default] QSafeAnimationException::QSafeAnimationException(SafeRenderer::QSafeAnimationException &&other)
Move-constructs an instance of QSafeAnimationException.
[delete] SafeRenderer::QSafeAnimationException &QSafeAnimationException::operator=(SafeRenderer::QSafeAnimationException &&other)
Move-assigns other to this QSafeAnimationException instance. This function is deleted.
[delete] SafeRenderer::QSafeAnimationException &QSafeAnimationException::operator=(const SafeRenderer::QSafeAnimationException &other)
Copy-assigns other to this QSafeAnimationException instance. This function is deleted.
Available under certain Qt licenses.
Find out more.