Qx v0.5.8
Qt Extensions Library
|
The Base85ParseError class is used to report errors while parsing a Base85 encoded string. More...
#include <qx/core/qx-base85.h>
Public Types | |
enum | ParseError { NoError , InvalidEncoding , PaddingRequired , NonANSI , CharacterSetMismatch , ShortcutMidFrame } |
Public Member Functions | |
Base85ParseError () | |
Base85ParseError (ParseError error, qsizetype offset) | |
ParseError | error () const |
QString | errorString () const |
qsizetype | offset () const |
This enum describes the type of error that occurred during the parsing of a Base85 encoded string.
Qx::Base85ParseError::Base85ParseError | ( | ) |
Constructs a parse error report set to ParseError::NoError.
Qx::Base85ParseError::Base85ParseError | ( | ParseError | error, |
qsizetype | offset ) |
Constructs a parse error report set to error, with offset offset.
Base85ParseError::ParseError Qx::Base85ParseError::error | ( | ) | const |
Returns the type of parse error. Is equal to Base85ParseError::NoError if the string was parsed correctly.
QString Qx::Base85ParseError::errorString | ( | ) | const |
Returns the human-readable message appropriate to the reported Base85 parsing error.
qsizetype Qx::Base85ParseError::offset | ( | ) | const |
Returns the offset in the input string where the parse error occurred.