Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

Error Class Reference

#include <Error.h>

List of all members.

Public Member Functions

 Error (const string &s)
const string getErrorMsg ()
char * getError ()


Detailed Description

This file defines a simple error object that contains an error message. The error is thrown if shit happens.

Definition at line 12 of file Error.h.


Constructor & Destructor Documentation

Error::Error const string &  s  )  [inline]
 

Constructor of the error object.

Parameters:
[in] &s the string containing the error message

Definition at line 22 of file Error.h.


Member Function Documentation

char* Error::getError  )  [inline]
 

Get a pointer (c-style string) to the error message objects. This method is useful if you want to put the message to graphical objects.

Returns:
char* error message

Definition at line 42 of file Error.h.

const string Error::getErrorMsg  )  [inline]
 

Get the error message as string that can be modified from outside. This method is may be useful if you want to show the error to the console.

Returns:
const string the error message

Definition at line 31 of file Error.h.


The documentation for this class was generated from the following file:
Generated on Mon Dec 12 15:20:26 2005 for CCube by  doxygen 1.4.1