#include <error.h>
|
enum | error_e : uint32_t {
OK
, NotInitialized
, FaceNotLoaded
, CharSizeNotSet
,
GlyphNotLoaded
, GlyphNotRendered
, GlyphNotExtracted
, UnsupportedPixelFormat
,
OutOfBoundsDrawing
, BBoxComputation
, OutOfMemory
, Localization
} |
|
◆ error_e
Enumerator |
---|
OK | |
NotInitialized | |
FaceNotLoaded | |
CharSizeNotSet | |
GlyphNotLoaded | |
GlyphNotRendered | |
GlyphNotExtracted | |
UnsupportedPixelFormat | |
OutOfBoundsDrawing | |
BBoxComputation | |
OutOfMemory | |
Localization | |
◆ Error() [1/4]
constexpr teeui::Error::Error |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ Error() [2/4]
constexpr teeui::Error::Error |
( |
error_e |
v | ) |
|
|
inlineconstexprnoexcept |
◆ Error() [3/4]
constexpr teeui::Error::Error |
( |
Error && |
| ) |
|
|
constexprdefaultnoexcept |
◆ Error() [4/4]
constexpr teeui::Error::Error |
( |
const Error & |
| ) |
|
|
constexprdefaultnoexcept |
◆ code()
constexpr error_e teeui::Error::code |
( |
| ) |
const |
|
inlineconstexpr |
◆ operator bool()
teeui::Error::operator bool |
( |
| ) |
const |
|
inline |
Evaluates to true if this represents an error condition. Consider a function Error foo(), use the following pattern to handle the error. if (auto error = foo()) { <handle error here> }
◆ operator!=()
bool teeui::Error::operator!= |
( |
error_e |
v | ) |
const |
|
inline |
◆ operator=() [1/2]
Error & teeui::Error::operator= |
( |
const Error & |
other | ) |
|
|
inline |
◆ operator=() [2/2]
◆ operator==()
bool teeui::Error::operator== |
( |
error_e |
v | ) |
const |
|
inline |
◆ operator||()
Error teeui::Error::operator|| |
( |
const Error & |
rhs | ) |
const |
|
inline |
◆ v_
The documentation for this class was generated from the following file:
- teeui/libteeui/include/teeui/error.h