<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Colorer-take5 Library: ErrorHandlerWriter Class Reference</title> <link href="../styles/styles.css" rel="stylesheet" type="text/css"> <link href="../styles/doc.css" rel="stylesheet" type="text/css"> <link rel="icon" href="../images/logo-small-api.png"/> </head> <body> <div align='center'> <a href="../index.html">Home</a> | <a href="modules.html">Modules</a> | <a href="hierarchy.html">Class Hierarchy</a> | <a href="classes.html">Alphabetical List</a> | <a href="annotated.html">Compound List</a> | <a href="pages.html">Related Pages</a> </div> <!-- Generated by Doxygen 1.4.6 --> <h1>ErrorHandlerWriter Class Reference<br> <small> [<a class="el" href="group__colorer__handlers.html">Handlers</a>]</small> </h1><!-- doxytag: class="ErrorHandlerWriter" --><!-- doxytag: inherits="ErrorHandler" --><p>Inheritance diagram for ErrorHandlerWriter: <p><center><img src="classErrorHandlerWriter.png" usemap="#ErrorHandlerWriter_map" border="0" alt=""></center> <map name="ErrorHandlerWriter_map"> <area href="classErrorHandler.html" alt="ErrorHandler" shape="rect" coords="0,0,121,24"> </map> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="classWriter.html">Writer</a> implementation of <a class="el" href="classErrorHandler.html">ErrorHandler</a>. <p> Writes all errors into specified output stream, implemented with <a class="el" href="classWriter.html">Writer</a> interface. Error description includes start/end time of logging and error message. <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classErrorHandlerWriter.html#f3bcad3adfb29f1d1692109d036755c1">ErrorHandlerWriter</a> (<a class="el" href="classWriter.html">Writer</a> *writer)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates <a class="el" href="classErrorHandler.html">ErrorHandler</a> instance. <a href="#f3bcad3adfb29f1d1692109d036755c1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="42dbcd2da85b10cb9f32c7e63cc2aa21"></a><!-- doxytag: member="ErrorHandlerWriter::fatalError" ref="42dbcd2da85b10cb9f32c7e63cc2aa21" args="(const String &msg)" --> void </td><td class="memItemRight" valign="bottom"><b>fatalError</b> (const <a class="el" href="classString.html">String</a> &msg)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="42255c54d040dfade26dadccc1de4e9b"></a><!-- doxytag: member="ErrorHandlerWriter::error" ref="42255c54d040dfade26dadccc1de4e9b" args="(const String &msg)" --> void </td><td class="memItemRight" valign="bottom"><b>error</b> (const <a class="el" href="classString.html">String</a> &msg)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c88da336ee5da76dc42eb6f131cb7a2"></a><!-- doxytag: member="ErrorHandlerWriter::warning" ref="9c88da336ee5da76dc42eb6f131cb7a2" args="(const String &msg)" --> void </td><td class="memItemRight" valign="bottom"><b>warning</b> (const <a class="el" href="classString.html">String</a> &msg)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c8b5bc61e96b7e36b1cedb5c7e63d89"></a><!-- doxytag: member="ErrorHandlerWriter::writer" ref="3c8b5bc61e96b7e36b1cedb5c7e63d89" args="" --> <a class="el" href="classWriter.html">Writer</a> * </td><td class="memItemRight" valign="bottom"><b>writer</b></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f3bcad3adfb29f1d1692109d036755c1"></a><!-- doxytag: member="ErrorHandlerWriter::ErrorHandlerWriter" ref="f3bcad3adfb29f1d1692109d036755c1" args="(Writer *writer)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">ErrorHandlerWriter::ErrorHandlerWriter </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classWriter.html">Writer</a> * </td> <td class="mdname1" valign="top" nowrap> <em>writer</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Creates <a class="el" href="classErrorHandler.html">ErrorHandler</a> instance. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>writer</em> </td><td><a class="el" href="classWriter.html">Writer</a>, which is used to output error logs. </td></tr> </table> </dl> </td> </tr> </table> <br><br> <center><small> Colorer-take5 Library. Copyright © 1999-2006 Igor Russkih.<br> Generated at Fri Nov 24 17:13:12 2006 by doxygen 1.4.6. </small><center> </BODY> </HTML>