SkXMLParserError Class Reference

#include <SkXMLParser.h>

Collaboration diagram for SkXMLParserError:
[legend]

List of all members.

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

Detailed Description

Definition at line 28 of file SkXMLParser.h.


Member Enumeration Documentation

Enumerator:
kNoError 
kEmptyFile 
kUnknownElement 
kUnknownAttributeName 
kErrorInAttributeValue 
kDuplicateIDs 
kUnknownError 

Definition at line 30 of file SkXMLParser.h.


Constructor & Destructor Documentation

SkXMLParserError::SkXMLParserError (  ) 
virtual SkXMLParserError::~SkXMLParserError (  )  [virtual]

Member Function Documentation

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.


Friends And Related Function Documentation

friend class SkXMLParser [friend]

Definition at line 59 of file SkXMLParser.h.


Member Data Documentation

Definition at line 54 of file SkXMLParser.h.


The documentation for this class was generated from the following file:

Generated on Tue Oct 20 10:33:06 2009 for Skia by  doxygen 1.6.1