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

Error Class Reference

#include <Error.h>

List of all members.

Public Member Functions

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

Private Attributes

string errMsg


Detailed Description

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


Constructor & Destructor Documentation

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

Constructor of the error object.

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


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

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


Member Data Documentation

string Error::errMsg [private]
 

A string containing the error Message


The documentation for this class was generated from the following file:
Generated on Tue Jan 24 00:36:47 2006 for ZVis by  doxygen 1.4.1