Texture Viewer
|
Public Member Functions | |
TextureIOResult () noexcept | |
TextureIOResult (TextureIOError status) noexcept | |
TextureIOResult (const TextureIOResult &lhs) noexcept | |
~TextureIOResult () noexcept=default | |
TextureIOResult & | operator= (const TextureIOResult &other) noexcept |
TextureIOError | error () const |
operator bool () const noexcept | |
bool | operator! () const noexcept |
Friends | |
bool | operator== (const TextureIOResult &lhs, const TextureIOResult &rhs) noexcept |
bool | operator!= (const TextureIOResult &lhs, const TextureIOResult &rhs) noexcept |
Related Functions | |
(Note that these are not member functions.) | |
QString | toUserString (const TextureIOResult &result) |
This class is an emulation of the std::excected<TextureIOError> typedef.
Such emulation is needed because it is not sure when and if we have the std::excected class.
|
inlinenoexcept |
Constructs TextureIOResult instance with no error.
|
inlinenoexcept |
Constructs TextureIOResult with the given error.
|
inlinenoexcept |
Copy-constructs TextureIOResult with the given lhs TextureIOResult.
|
defaultnoexcept |
Destroys TextureIOResult object.
|
inline |
Returns error code.
|
inlinenoexcept |
Returns true if this instance contains no error.
|
inlinenoexcept |
Returns true if this instance has an error.
|
noexcept |
Assigns other TextureIOResult to this result.
|
friend |
Returns true if lhs is not equal to the rhs.
|
friend |
Returns true if lhs is equal to the rhs.
|
related |
Returns the human-readable message describing the result.