Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

XMLLoadSave::bad_format Class Reference

#include <XMLLoadSave.h>

Inheritance diagram for XMLLoadSave::bad_format:

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 24 of file XMLLoadSave.h.


Public Member Functions

 bad_format (xmlNode *node) throw ()
 constructor
 bad_format (xmlNode *node, const std::string &msg) 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
std::string msg_
 message regarding the type of error

Constructor & Destructor Documentation

XMLLoadSave::bad_format::bad_format ( xmlNode node  )  throw () [inline]

constructor

Definition at line 27 of file XMLLoadSave.h.

XMLLoadSave::bad_format::bad_format ( xmlNode node,
const std::string &  msg 
) throw () [inline]

constructor

Definition at line 29 of file XMLLoadSave.h.

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

copy constructor

Definition at line 31 of file XMLLoadSave.h.

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

destructor

Definition at line 34 of file XMLLoadSave.h.


Member Function Documentation

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

assignment

Definition at line 33 of file XMLLoadSave.h.

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

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

returns the xmlNode at which the error occurred

Definition at line 36 of file XMLLoadSave.h.

Referenced by XMLLoadSave::reportError().


Member Data Documentation

the node of the error

Definition at line 38 of file XMLLoadSave.h.

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

std::string XMLLoadSave::bad_format::msg_ [protected]

message regarding the type of error

Definition at line 39 of file XMLLoadSave.h.

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


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:50 2007 by Doxygen 1.5.4