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] |
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: