openalpp::Error Class Reference

Inheritance diagram for openalpp::Error:

openalpp::FatalError openalpp::FileError openalpp::InitError openalpp::MemoryError openalpp::NameError openalpp::ValueError

List of all members.

Public Member Functions

 Error ()
 Error (const char *description)
 Error (const Error &error)
std::ostream & put (std::ostream &stream) const


Detailed Description

Error class for throwing. The descendants of this class are different error types, and the exact error can be displayed by using "cout << error;" where error is an instance of Error (or one of its descendants)

Constructor & Destructor Documentation

openalpp::Error::Error (  )  [inline]

Constructor. Will use a default error message.

openalpp::Error::Error ( const char *  description  )  [inline]

Constructor.

Parameters:
description is error message to use.

openalpp::Error::Error ( const Error error  )  [inline]

Copy constructor.


Member Function Documentation

std::ostream& openalpp::Error::put ( std::ostream &  stream  )  const

Function used for printing.

Parameters:
stream is stream to print to
Returns:
the stream with the error message appended.


The documentation for this class was generated from the following file:

Generated on Sun Aug 24 13:41:34 2008 for osgAL by  doxygen 1.5.6