PolyBoRi
|
00001 // -*- c++ -*- 00002 //***************************************************************************** 00034 //***************************************************************************** 00035 00036 // load PolyBoRi settings 00037 # include "pbori_defs.h" 00038 00039 00040 #ifndef PBoRiError_h_ 00041 #define PBoRiError_h_ 00042 00043 00044 BEGIN_NAMESPACE_PBORI 00045 00052 class PBoRiError { 00053 00054 public: 00056 typedef CTypes::errornum_type errornum_type; 00057 00059 typedef CTypes::errortext_type errortext_type; 00060 00062 typedef PBoRiError self; 00063 00065 PBoRiError(errornum_type err = CTypes::alright); 00066 00068 PBoRiError(const self&); 00069 00071 ~PBoRiError(); 00072 00074 errornum_type code() const; 00075 00077 errortext_type text() const; 00078 00079 protected: 00080 errornum_type error; 00081 }; 00082 00083 END_NAMESPACE_PBORI 00084 00085 #endif // of #ifndef PBoRiError_h_