source: trunk/FACT++/src/DimErrorRedirecter.h

Last change on this file was 10858, checked in by tbretz, 10 years ago
Changed the data member cnt's name -- it sometimes gave warnings using cnt locally in derived classes.
File size: 443 bytes
RevLine 
[10183]1#ifndef FACT_DimErrorRedirecter
2#define FACT_DimErrorRedirecter
3
[10511]4#include <dis.hxx>
[10183]5
6class MessageImp;
7
[10511]8class DimErrorRedirecter : public DimErrorHandler, public DimExitHandler
[10183]9{
10private:
[10858]11    static int fDimErrorRedireterCnt;
[10183]12
13    MessageImp &fMsg;
14
15    void errorHandler(int severity, int code, char *msg);
[10511]16    void exitHandler(int code) { exit(code); }
[10183]17
18public:
19    DimErrorRedirecter(MessageImp &imp);
[10384]20    ~DimErrorRedirecter();
[10183]21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.