Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

XMLLoadSave::bad_format Class Reference

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

#include <XMLLoadSave.h>

Inheritance diagram for XMLLoadSave::bad_format:

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.

List of all members.

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 ()

constructor

Definition at line 27 of file XMLLoadSave.h.

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

constructor

Definition at line 29 of file XMLLoadSave.h.

XMLLoadSave::bad_format::bad_format ( const bad_format bf  ) 

copy constructor

Definition at line 31 of file XMLLoadSave.h.

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

destructor

Definition at line 34 of file XMLLoadSave.h.


Member Function Documentation

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

returns the xmlNode at which the error occurred

Definition at line 36 of file XMLLoadSave.h.

Referenced by plist::Angle::loadXML(), and XMLLoadSave::reportError().

bad_format& XMLLoadSave::bad_format::operator= ( const bad_format bf  ) 

assignment

Definition at line 33 of file XMLLoadSave.h.

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

Member Data Documentation

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 node of the error

Definition at line 38 of file XMLLoadSave.h.

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


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:19 2016 by Doxygen 1.6.3