source: tags/arb_5.0/PARSIMONY/AP_error.hxx

Last change on this file was 1115, checked in by westram, 21 years ago
  • AP_error.hxx: - untabified
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 558 bytes
Line 
1#ifndef _AP_ERROR_INC
2#define _AP_ERROR_INC
3
4class AP_ERR
5    {
6    static int modus;   // Ausgabemodus 0 = keine Warnings, 1 = Warnings
7    int  anzahl;    // Anzahl der fehlertexte
8    const char *text;   // Zeiger auf fehlertext
9
10    public:
11    AP_ERR(const char *errorstring); // setzt den Fehler
12    AP_ERR(const char *,const int core);
13    AP_ERR(const char *,const char *,const int core);
14    AP_ERR(const char *,const char *);
15    ~AP_ERR();
16    const char *show(); // shows error messages
17    void set_mode(int i); // set error mode
18    };
19
20#endif
Note: See TracBrowser for help on using the repository browser.