Main Page Class Hierarchy Compound List File List Compound Members

# gdserr.h

    00001 /*
    00002 Program ERROR.H
    00003 Purpose Holds an error message
    00004 Last Update     29-09-1996
    00005 */
    00006
    00007 #ifndef GDS_ERROR_H
    00008 #define GDS_ERROR_H
    00009
    00010 #ifdef __GNUG__
    00011 #pragma interface
    00012 #endif
    00013
    00014 #include <string.h>
    00015
    00016 class GDS_Error
    00017 {
    00018         public:
    00019                 GDS_Error(char* message, char* header=0, int degree = 9, int fatal = 0);
    00020                 GDS_Error(const GDS_Error& a);
    00021                 ~GDS_Error();
    00022                 char*      GetErrorMessage();
    00023                 char*   GetHeaderMessage();
    00024                 int             GetErrorDegree();
    00025                 int             GetFatal();
    00026
    00027         protected:
    00028                 char*   _message;
    00029                 char*   _header;
    00030                 int     _degree;
    00031                 int     _fatal;
    00032 };
    00033
    00034 #endif

gdserr.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page