wxArt2D
Public Member Functions | Static Public Member Functions | Friends | List of all members
a2dError Class Reference

holds one error report. More...

#include <gen.h>

Inheritance diagram for a2dError:
Inheritance graph
[legend]
Collaboration diagram for a2dError:
Collaboration graph
[legend]

Public Member Functions

 a2dError ()
 default constructor
 
 a2dError (const wxString &errorIdName, const wxString &error=wxEmptyString, bool warning=false)
 constructor
 
 a2dError (const a2dError &error)
 
bool operator== (const a2dError &a)
 
bool operator!= (const a2dError &a)
 
wxString GetIdName () const
 name of the name of this error id
 
wxString GetErrorMessage () const
 get error string
 
a2dErrorWarningCode GetErrorCode () const
 get error code
 
void SetErrorMessage (const wxString &error)
 set error message
 
void SetErrorCode (a2dErrorWarningCode code)
 set error code
 

Static Public Member Functions

static a2dErrorHash & GetHashMap ()
 

Friends

bool operator== (const a2dError &a, const a2dError &b)
 
bool operator!= (const a2dError &a, const a2dError &b)
 

Detailed Description

holds one error report.

Error within the docview framework are reported to the one and only a2dDocviewGlobal instance. There they are store in a list of this class. Each a2dError holds a message and an errorcode. The error code can be used to check the eror independent of language.

Definition at line 623 of file gen.h.


The documentation for this class was generated from the following files:
a2dError Class Reference -- Sun Oct 12 2014 17:04:38 -- Sun Oct 12 2014 -- 1.8.5 -- wxArt2D -- . -- Main Page Reference Documentation