Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

errorcon.h

Go to the documentation of this file.
00001 
00002 //
00003 //  Borland C++ 5.5, GNU C++ 3.0
00004 //  Compiler Backend Library, QCC
00005 //  $Id: errorcon_8h-source.html,v 1.1 2002/07/18 14:58:45 cparpart Exp $
00006 //
00007 //  Copyright (c) 2000, 2002 SurakWare Corp.
00008 //
00010 #ifndef sw_qcc_errorcon_h
00011 #define sw_qcc_errorcon_h
00012 
00013 #include 
00014 #include <swl/errormgr.h>
00015 
00016 #include 
00017 
00018 class IFileInfo : swl::IInterface {
00019 public:
00020     virtual unsigned line() const = 0;
00021     virtual unsigned column() const = 0;
00022     virtual std::string fileName() const = 0;
00023 };
00024 
00025 template<class ErrorClass> class TConErrorMgr : public swl::TErrorMgr {
00026 private:
00027     const IFileInfo& FFileInfo;
00028 
00029 public:
00030     TConErrorMgr(const IFileInfo& AFileInfo);
00031 
00032     virtual void message(const std::string&);
00033     virtual void warning(const std::string&);
00034     virtual void error(const std::string&);
00035     virtual void errorInfo(const std::string&);
00036 };
00037 
00038 #endif

Generated on Sat Apr 6 19:07:25 2002 for Compiler Backend Library by doxygen1.2.14 written by , © 1997-2002