#include <SkXMLParser.h>
Definition at line 20 of file SkXMLParser.h.
◆ ErrorCode
Enumerator |
---|
kNoError | |
kEmptyFile | |
kUnknownElement | |
kUnknownAttributeName | |
kErrorInAttributeValue | |
kDuplicateIDs | |
kUnknownError | |
Definition at line 22 of file SkXMLParser.h.
◆ SkXMLParserError()
SkXMLParserError::SkXMLParserError |
( |
| ) |
|
◆ ~SkXMLParserError()
SkXMLParserError::~SkXMLParserError |
( |
| ) |
|
|
virtual |
◆ getErrorCode()
ErrorCode SkXMLParserError::getErrorCode |
( |
| ) |
const |
|
inline |
◆ getErrorString()
void SkXMLParserError::getErrorString |
( |
SkString * |
str | ) |
const |
|
virtual |
Definition at line 39 of file SkXMLParser.cpp.
40{
47 } else
50}
static char const *const gErrorStrings[]
void set(const SkString &src)
void append(const char text[])
static void GetNativeErrorString(int nativeErrorCode, SkString *str)
◆ getLineNumber()
int SkXMLParserError::getLineNumber |
( |
| ) |
const |
|
inline |
◆ getNativeCode()
int SkXMLParserError::getNativeCode |
( |
| ) |
const |
|
inline |
◆ hasError()
bool SkXMLParserError::hasError |
( |
| ) |
const |
|
inline |
◆ hasNoun()
bool SkXMLParserError::hasNoun |
( |
| ) |
const |
|
inline |
◆ reset()
void SkXMLParserError::reset |
( |
| ) |
|
Definition at line 52 of file SkXMLParser.cpp.
52 {
54 fLineNumber = -1;
55 fNativeCode = -1;
56}
◆ setCode()
void SkXMLParserError::setCode |
( |
ErrorCode |
code | ) |
|
|
inline |
◆ setNoun() [1/3]
void SkXMLParserError::setNoun |
( |
const char * |
ch | ) |
|
|
inline |
◆ setNoun() [2/3]
void SkXMLParserError::setNoun |
( |
const char * |
ch, |
|
|
size_t |
len |
|
) |
| |
|
inline |
◆ setNoun() [3/3]
void SkXMLParserError::setNoun |
( |
const SkString & |
str | ) |
|
|
inline |
◆ SkXMLParser
◆ fCode
The documentation for this class was generated from the following files: