OpenMW
Public Member Functions | Private Member Functions | Private Attributes
Compiler::StreamErrorHandler Class Reference

Error handler implementation: Write errors into stream. More...

#include <streamerrorhandler.hpp>

List of all members.

Public Member Functions

 StreamErrorHandler (std::ostream &ErrorStream)
 constructor

Private Member Functions

 StreamErrorHandler (const StreamErrorHandler &)
StreamErrorHandleroperator= (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

Detailed Description

Error handler implementation: Write errors into stream.


Constructor & Destructor Documentation

Compiler::StreamErrorHandler::StreamErrorHandler ( std::ostream &  ErrorStream)

constructor


Member Function Documentation

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.


Member Data Documentation

std::ostream& Compiler::StreamErrorHandler::mStream [private]

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