ConsoleErrorHandler.h

Go to the documentation of this file.
00001 /* ****************************************************************** **
00002 **    OpenSees - Open System for Earthquake Engineering Simulation    **
00003 **          Pacific Earthquake Engineering Research Center            **
00004 **                                                                    **
00005 **                                                                    **
00006 ** (C) Copyright 1999, The Regents of the University of California    **
00007 ** All Rights Reserved.                                               **
00008 **                                                                    **
00009 ** Commercial use of this program without express permission of the   **
00010 ** University of California, Berkeley, is strictly prohibited.  See   **
00011 ** file 'COPYRIGHT'  in main directory for information on usage and   **
00012 ** redistribution,  and for a DISCLAIMER OF ALL WARRANTIES.           **
00013 **                                                                    **
00014 ** Developed by:                                                      **
00015 **   Frank McKenna (fmckenna@ce.berkeley.edu)                         **
00016 **   Gregory L. Fenves (fenves@ce.berkeley.edu)                       **
00017 **   Filip C. Filippou (filippou@ce.berkeley.edu)                     **
00018 **                                                                    **
00019 ** ****************************************************************** */
00020                                                                         
00021 // $Revision: 1.2 $
00022 // $Date: 2003/02/14 23:01:24 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/handler/ConsoleErrorHandler.h,v $
00024                                                                         
00025                                                                         
00026 #ifndef ConsoleErrorHandler_h
00027 #define ConsoleErrorHandler_h
00028 
00029 // File: ~/handler/ConsoleErrorHandler.h
00030 //
00031 // Written: fmk 
00032 // Created: 11/99
00033 // Revision: A
00034 //
00035 // Description: This file contains the class interface for ConsoleErrorHandler.
00036 // A ConsoleErrorHandler is an object which sends the error messages to the opserr stream.
00037 //
00038 // What: "@(#) ConsoleErrorHandler.h, revA"
00039 
00040 #include "ErrorHandler.h"
00041 
00042 class ConsoleErrorHandler : public ErrorHandler
00043 {
00044   public:
00045     ConsoleErrorHandler();
00046     virtual ~ConsoleErrorHandler();
00047 
00048     void warning(const char *, ...);
00049     void fatal(const char *, ...);
00050 
00051   protected:
00052     
00053   private:    
00054 };
00055 
00056 
00057 #endif
00058 
00059 

Generated on Mon Oct 23 15:05:12 2006 for OpenSees by doxygen 1.5.0