PolyBoRi
|
00001 // -*- c++ -*- 00002 //***************************************************************************** 00014 //***************************************************************************** 00015 00016 #ifndef polybori_error_CErrorInfo_h_ 00017 #define polybori_error_CErrorInfo_h_ 00018 00019 #include <polybori/pbori_defs.h> 00020 00021 BEGIN_NAMESPACE_PBORI 00022 00026 class CErrorInfo { 00027 public: 00029 typedef CTypes::errornum_type errornum_type; 00030 00032 typedef CTypes::errortext_type errortext_type; 00033 00035 CErrorInfo(); 00036 00038 static errortext_type text(errornum_type); 00039 00040 protected: 00042 static errortext_type pErrorText[]; 00043 00044 }; 00045 00046 00047 END_NAMESPACE_PBORI 00048 00049 #endif