OpenMW
|
Error handler implementation: Write errors into stream. More...
#include <streamerrorhandler.hpp>
Public Member Functions | |
StreamErrorHandler (std::ostream &ErrorStream) | |
constructor | |
Private Member Functions | |
StreamErrorHandler (const StreamErrorHandler &) | |
StreamErrorHandler & | operator= (const StreamErrorHandler &) |
virtual void | report (const std::string &message, const TokenLoc &loc, Type type) |
Report error to the user. | |
virtual void | report (const std::string &message, Type type) |
Report a file related error. | |
Private Attributes | |
std::ostream & | mStream |
Error handler implementation: Write errors into stream.
Compiler::StreamErrorHandler::StreamErrorHandler | ( | const StreamErrorHandler & | ) | [private] |
Compiler::StreamErrorHandler::StreamErrorHandler | ( | std::ostream & | ErrorStream | ) |
constructor
StreamErrorHandler& Compiler::StreamErrorHandler::operator= | ( | const StreamErrorHandler & | ) | [private] |
void Compiler::StreamErrorHandler::report | ( | const std::string & | message, |
const TokenLoc & | loc, | ||
Type | type | ||
) | [private, virtual] |
Report error to the user.
Implements Compiler::ErrorHandler.
void Compiler::StreamErrorHandler::report | ( | const std::string & | message, |
Type | type | ||
) | [private, virtual] |
Report a file related error.
Implements Compiler::ErrorHandler.
std::ostream& Compiler::StreamErrorHandler::mStream [private] |