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

Last change on this file since 10384 was 10384, checked in by tbretz, 9 years ago
Switch offf custom error handler in destructor.
File size: 356 bytes
Line 
1#ifndef FACT_DimErrorRedirecter
2#define FACT_DimErrorRedirecter
3
4#include <dim.hxx>
5
6class MessageImp;
7
8class DimErrorRedirecter : public DimErrorHandler
9{
10private:
11    static int cnt;
12
13    MessageImp &fMsg;
14
15    void errorHandler(int severity, int code, char *msg);
16
17public:
18    DimErrorRedirecter(MessageImp &imp);
19    ~DimErrorRedirecter();
20
21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.