Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

CNError Class Reference

The class CNError. More...

#include <Error.h>

List of all members.

Public Methods

 CNError (void)
 Default Constructor.

 ~CNError (void)
 Default Destructor.

CNErrorCode addError (const char *key, const char *default_message)
 add a new error to the error context.

const char * getMessage (CNErrorCode code, CNString *info=NULL)
 info can be returned (set with setInfo).

void setInfo (const char *info)
 the next setInfo.

void setErrorFile (const char *file)
 set an error file with messages UNIMPLEMENTED.

virtual CNClassDesc class_desc () const
 FIXME: Undocumented.

virtual bool is_a (CNClassDesc desc) const
 Checks Type.

virtual void print (ostream &strm=cout) const
 Print output.

virtual void dump (ostream &strm=cout) const
 Debug output.


Static Public Methods

void addInitFunction (InitFunction func)
 add init function to error context.

CNError * cast_from_object (CNObject *obj)
 Safes Type Cast.


Detailed Description

The class CNError.


The documentation for this class was generated from the following file:
Generated on Fri Feb 1 19:54:46 2002 for CNCL by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001