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

CError Class Reference

The Error Class is a base class for managing error. More...

#include <Error.h>

Inheritance diagram for CError

Inheritance graph

[legend]
List of all members.

Public Methods

 CError ()
virtual ~CError ()
void ErrorClean (void)
 Clean the error.

int ErrorGet (void) const
 Return the Error Number.

const char* ErrorMessageGet (const char * message)
 Return error message.


Protected Methods

void ErrorSet (int error)
 Set the Error.

void ErrorInit (void)
 Initialise the Error.


Static Private Attributes

ErrorNumberT ErrorNumber = ERR_NO_ERROR

Detailed Description

The Error Class is a base class for managing error.

Author(s):
Laurent Najman
Date:
07/22/01
Keywords:
Version:
Id: Error.h,v 1.2 2002/05/12 16:52:36 laurentnajman Exp
Content:
The base class for error management contains a static error number, and methods for setting and getting an error and its associated message


The documentation for this class was generated from the following files:
Generated at Sun May 12 19:04:25 2002 for OpenMorpho by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000