Home | Modules | Class Hierarchy | Alphabetical List | Compound List | Related Pages

FileErrorHandler Class Reference
[Handlers]

Inheritance diagram for FileErrorHandler:

ErrorHandler

Detailed Description

File implementation of ErrorHandler.

Writes all errors into text file. This file includes error description and start/end time of logging.


Public Member Functions

 FileErrorHandler (const String *fileName, int encoding, bool clear)
 Creates FileErrorHandler instance.
void fatalError (const String &msg)
void error (const String &msg)
void warning (const String &msg)

Protected Attributes

ErrorHandlerWriterehw
StreamWriterwriter
FILE * file


Constructor & Destructor Documentation

FileErrorHandler::FileErrorHandler const String fileName,
int  encoding,
bool  clear
 

Creates FileErrorHandler instance.

For Unicode encodings it uses BOM for marking start of file.

Parameters:
fileName File name to store all errors information.
encoding Output file encoding
clear If true, file would be cleaned before first write.


Colorer-take5 Library. Copyright © 1999-2006 Igor Russkih.
Generated at Fri Nov 24 17:13:12 2006 by doxygen 1.4.6.