#include <SkXMLParser.h>
Public Types | |
enum | ErrorCode { kNoError, kEmptyFile, kUnknownElement, kUnknownAttributeName, kErrorInAttributeValue, kDuplicateIDs, kUnknownError } |
Public Member Functions | |
SkXMLParserError () | |
virtual | ~SkXMLParserError () |
ErrorCode | getErrorCode () const |
virtual void | getErrorString (SkString *str) const |
int | getLineNumber () const |
int | getNativeCode () const |
bool | hasError () const |
bool | hasNoun () const |
void | reset () |
void | setCode (ErrorCode code) |
void | setNoun (const SkString &str) |
void | setNoun (const char *ch) |
void | setNoun (const char *ch, size_t len) |
Protected Attributes | |
ErrorCode | fCode |
Friends | |
class | SkXMLParser |
Definition at line 28 of file SkXMLParser.h.
kNoError | |
kEmptyFile | |
kUnknownElement | |
kUnknownAttributeName | |
kErrorInAttributeValue | |
kDuplicateIDs | |
kUnknownError |
Definition at line 30 of file SkXMLParser.h.
SkXMLParserError::SkXMLParserError | ( | ) |
virtual SkXMLParserError::~SkXMLParserError | ( | ) | [virtual] |
ErrorCode SkXMLParserError::getErrorCode | ( | ) | const [inline] |
Definition at line 42 of file SkXMLParser.h.
virtual void SkXMLParserError::getErrorString | ( | SkString * | str | ) | const [virtual] |
int SkXMLParserError::getLineNumber | ( | ) | const [inline] |
Definition at line 44 of file SkXMLParser.h.
int SkXMLParserError::getNativeCode | ( | ) | const [inline] |
Definition at line 45 of file SkXMLParser.h.
bool SkXMLParserError::hasError | ( | ) | const [inline] |
Definition at line 46 of file SkXMLParser.h.
bool SkXMLParserError::hasNoun | ( | ) | const [inline] |
Definition at line 47 of file SkXMLParser.h.
void SkXMLParserError::reset | ( | ) |
void SkXMLParserError::setCode | ( | ErrorCode | code | ) | [inline] |
Definition at line 49 of file SkXMLParser.h.
void SkXMLParserError::setNoun | ( | const char * | ch, | |
size_t | len | |||
) | [inline] |
Definition at line 52 of file SkXMLParser.h.
void SkXMLParserError::setNoun | ( | const char * | ch | ) | [inline] |
Definition at line 51 of file SkXMLParser.h.
void SkXMLParserError::setNoun | ( | const SkString & | str | ) | [inline] |
Definition at line 50 of file SkXMLParser.h.
friend class SkXMLParser [friend] |
Definition at line 59 of file SkXMLParser.h.
ErrorCode SkXMLParserError::fCode [protected] |
Definition at line 54 of file SkXMLParser.h.