00001 00002 #ifndef CConfParser_h 00003 #define CConfParser_h 1 00004 00005 // standard_stl 00006 #include "jic/include/standard_stl.hpp" 00007 // CConfException 00008 #include "jic/exc/CConfException.hpp" 00009 00010 namespace CONFIG { 00011 00012 class CConfParser 00013 { 00014 00015 public: 00016 CConfParser(); 00017 00018 CConfParser(const CConfParser &right); 00019 00020 ~CConfParser(); 00021 00022 CConfParser & operator=(const CConfParser &right); 00023 00024 std::string getConfValue (std::string strKey) const throw (CConfException); 00025 00026 // Additional Public Declarations 00027 00028 protected: 00029 00030 MAP_string_string get_mConf (); 00031 void set_mConf (MAP_string_string value); 00032 00033 // Data Members for Associations 00034 00035 MAP_string_string m_mConf; 00036 00037 // Additional Protected Declarations 00038 00039 private: 00040 // Additional Private Declarations 00041 00042 private: 00043 // Additional Implementation Declarations 00044 00045 }; 00046 00047 // Class CONFIG::CConfParser 00048 00049 inline MAP_string_string CConfParser::get_mConf () 00050 { 00051 return m_mConf; 00052 } 00053 00054 inline void CConfParser::set_mConf (MAP_string_string value) 00055 { 00056 m_mConf = value; 00057 } 00058 00059 } // namespace CONFIG 00060 00061 #endif