Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

XMLLoadSave::bad_format Class Reference

#include <XMLLoadSave.h>

Inheritance diagram for XMLLoadSave::bad_format:

Inheritance graph
[legend]
List of all members.

Detailed Description

an exception to be thrown when a bad XML file is parsed, allows file position information to be passed to the user

Definition at line 22 of file XMLLoadSave.h.

Public Member Functions

 bad_format (xmlNode *node, const char *msg="invalid format in plist") throw ()
 constructor
 bad_format (const bad_format &bf)
 copy constructor
bad_formatoperator= (const bad_format &bf)
 assignment
virtual ~bad_format () throw ()
 destructor
virtual const char * what () const throw ()
 standard interface for getting the exception's message string
virtual xmlNodegetNode () const throw ()
 returns the xmlNode at which the error occurred

Protected Attributes

xmlNodenode_
 the node of the error
const char * msg_
 message regarding the type of error


Constructor & Destructor Documentation

XMLLoadSave::bad_format::bad_format xmlNode node,
const char *  msg = "invalid format in plist"
throw () [inline]
 

constructor

Definition at line 25 of file XMLLoadSave.h.

XMLLoadSave::bad_format::bad_format const bad_format bf  )  [inline]
 

copy constructor

Definition at line 27 of file XMLLoadSave.h.

virtual XMLLoadSave::bad_format::~bad_format  )  throw () [inline, virtual]
 

destructor

Definition at line 30 of file XMLLoadSave.h.


Member Function Documentation

virtual xmlNode* XMLLoadSave::bad_format::getNode  )  const throw () [inline, virtual]
 

returns the xmlNode at which the error occurred

Definition at line 32 of file XMLLoadSave.h.

Referenced by XMLLoadSave::reportError().

bad_format& XMLLoadSave::bad_format::operator= const bad_format bf  )  [inline]
 

assignment

Definition at line 29 of file XMLLoadSave.h.

virtual const char* XMLLoadSave::bad_format::what  )  const throw () [inline, virtual]
 

standard interface for getting the exception's message string

Definition at line 31 of file XMLLoadSave.h.

Referenced by XMLLoadSave::reportError().


Member Data Documentation

const char* XMLLoadSave::bad_format::msg_ [protected]
 

message regarding the type of error

Definition at line 35 of file XMLLoadSave.h.

Referenced by operator=(), and what().

xmlNode* XMLLoadSave::bad_format::node_ [protected]
 

the node of the error

Definition at line 34 of file XMLLoadSave.h.

Referenced by getNode(), and operator=().


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

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:13 2005 by Doxygen 1.4.4