LibreOffice Module comphelper (master) 1
|
#include <errcode.hxx>
Public Member Functions | |
constexpr | ErrCode (WarningFlag, ErrCodeArea nArea, ErrCodeClass nClass, sal_uInt16 nCode) |
constexpr | ErrCode (ErrCodeArea nArea, ErrCodeClass nClass, sal_uInt16 nCode) |
constexpr | ErrCode (ErrCodeArea nArea, sal_uInt16 nClassAndCode) |
constexpr | ErrCode (sal_uInt32 nValue) |
constexpr | ErrCode () |
operator sal_uInt32 () const | |
operator bool () const | |
bool | operator< (ErrCode const &other) const |
bool | operator<= (ErrCode const &other) const |
bool | operator> (ErrCode const &other) const |
bool | operator>= (ErrCode const &other) const |
bool | operator== (ErrCode const &other) const |
bool | operator!= (ErrCode const &other) const |
ErrCode | IgnoreWarning () const |
convert to ERRCODE_NONE if it's a warning, else return the error More... | |
bool | IsWarning () const |
ErrCode | MakeWarning () const |
bool | IsError () const |
bool | IsDynamic () const |
sal_uInt32 | GetDynamic () const |
ErrCode | StripDynamic () const |
constexpr ErrCode | StripWarningAndDynamic () const |
constexpr ErrCodeArea | GetArea () const |
constexpr ErrCodeClass | GetClass () const |
constexpr sal_uInt8 | GetCode () const |
OUString | toHexString () const |
COMPHELPER_DLLPUBLIC OUString | toString () const |
Return a string suitable for debug output, the same as the operator<< function. More... | |
template<typename... Args> | |
bool | anyOf (Args... args) const |
Private Attributes | |
sal_uInt32 | m_value |
Definition at line 61 of file errcode.hxx.
|
inlineexplicitconstexpr |
Definition at line 64 of file errcode.hxx.
References m_value.
|
inlineexplicitconstexpr |
Definition at line 69 of file errcode.hxx.
References m_value.
|
inlineexplicitconstexpr |
Definition at line 74 of file errcode.hxx.
References m_value.
|
inlineexplicitconstexpr |
Definition at line 76 of file errcode.hxx.
|
inlineconstexpr |
Definition at line 78 of file errcode.hxx.
References m_value.
|
inline |
Definition at line 145 of file errcode.hxx.
References args.
|
inlineconstexpr |
Definition at line 126 of file errcode.hxx.
References ERRCODE_AREA_SHIFT, and m_value.
Referenced by toString().
|
inlineconstexpr |
Definition at line 130 of file errcode.hxx.
References ERRCODE_CLASS_SHIFT, and m_value.
Referenced by toString().
|
inlineconstexpr |
|
inline |
Definition at line 114 of file errcode.hxx.
References ERRCODE_DYNAMIC_MASK, ERRCODE_DYNAMIC_SHIFT, and m_value.
|
inline |
convert to ERRCODE_NONE if it's a warning, else return the error
Definition at line 92 of file errcode.hxx.
References ERRCODE_ERROR_MASK, ERRCODE_WARNING_MASK, and m_value.
|
inline |
Definition at line 110 of file errcode.hxx.
References ERRCODE_DYNAMIC_MASK, and m_value.
Referenced by toString().
|
inline |
Definition at line 106 of file errcode.hxx.
References m_value.
|
inline |
Definition at line 98 of file errcode.hxx.
References ERRCODE_WARNING_MASK, and m_value.
Referenced by toString().
|
inline |
Definition at line 102 of file errcode.hxx.
References ERRCODE_WARNING_MASK, and m_value.
|
inlineexplicit |
Definition at line 82 of file errcode.hxx.
References m_value.
|
inlineexplicit |
Definition at line 81 of file errcode.hxx.
References m_value.
|
inline |
Definition at line 89 of file errcode.hxx.
|
inline |
Definition at line 84 of file errcode.hxx.
|
inline |
Definition at line 85 of file errcode.hxx.
|
inline |
Definition at line 88 of file errcode.hxx.
|
inline |
Definition at line 86 of file errcode.hxx.
|
inline |
Definition at line 87 of file errcode.hxx.
|
inline |
Definition at line 118 of file errcode.hxx.
References ERRCODE_DYNAMIC_MASK, and m_value.
|
inlineconstexpr |
Definition at line 122 of file errcode.hxx.
References ERRCODE_DYNAMIC_MASK, ERRCODE_WARNING_MASK, and m_value.
|
inline |
COMPHELPER_DLLPUBLIC OUString ErrCode::toString | ( | ) | const |
Return a string suitable for debug output, the same as the operator<< function.
Definition at line 23 of file errcode.cxx.
References Abort, Access, AlreadyExists, Compiler, Create, Export, Format, General, GetArea(), GetClass(), GetCode(), Import, Inet, Io, IsDynamic(), IsWarning(), Locking, NONE, NotExists, NotSupported, Parameter, Path, Read, Runtime, Sbx, Sc, Sd, Sfx, So, Space, Svx, Sw, toHexString(), u, Unknown, Uui, Vcl, Version, and Write.
|
private |
Definition at line 152 of file errcode.hxx.
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().