00001 // 00002 // The Austria library is copyright (c) Gianni Mariani 2004. 00003 // 00004 // Grant Of License. Grants to LICENSEE the non-exclusive right to use the Austria 00005 // library subject to the terms of the LGPL. 00006 // 00007 // A copy of the license is available in this directory or one may be found at this URL: 00008 // http://www.gnu.org/copyleft/lesser.txt 00009 // 00015 #ifndef x_at_status_report_basic_h_x 00016 #define x_at_status_report_basic_h_x 1 00017 00018 #include "at_exports.h" 00019 #include "at_status_report.h" 00020 00021 // Austria namespace 00022 namespace at 00023 { 00024 00025 // ======== StatusReport_Basic ===================================== 00031 class AUSTRIA_EXPORT StatusReport_Basic 00032 : public StatusReport 00033 { 00034 public: 00035 00036 StatusReport_Basic(); 00037 00038 StatusReport_Basic( 00039 StatusTypeCode i_typecode, 00040 int i_status, 00041 const std::string & i_description 00042 ); 00043 00044 // override StatusReport::ReportStatus 00045 virtual void ReportStatus( 00046 StatusTypeCode i_typecode, 00047 int i_status, 00048 const std::string & i_description 00049 ); 00050 00051 virtual void ReportStatus( 00052 const StatusReport * i_sreport 00053 ); 00054 00055 // override StatusReport::ClearStatus 00056 virtual void ClearStatus(); 00057 00058 // override StatusReport::GetStatus 00059 virtual bool GetStatus() const; 00060 00061 // override StatusReport::GetStatus 00062 virtual bool GetStatus( 00063 StatusTypeCode & o_typecode, 00064 int & o_status, 00065 std::string & o_description 00066 ) const; 00067 00068 // override StatusReport::GetStatus 00069 virtual bool GetStatus( 00070 StatusReport * o_srep 00071 ) const; 00072 00073 // 00074 // member variables 00075 00076 StatusTypeCode m_status_type; 00077 int m_status_code; 00078 std::string m_description; 00079 00080 }; 00081 00082 }; // namespace 00083 #endif // x_at_status_report_basic_h_x 00084 00085
Generated for Austria by
and
MakeXS at Sun Oct 24 17:35:34 PDT 2004