00001
00002 #ifndef CConfFileParser_h
00003 #define CConfFileParser_h 1
00004
00005
00006 #include "jic/config/CConfParser.hpp"
00007
00008 namespace CONFIG {
00009
00010 class CConfFileParser : public CConfParser
00011 {
00012
00013 public:
00014 CConfFileParser();
00015
00016 CConfFileParser(const CConfFileParser &right);
00017
00018 ~CConfFileParser();
00019
00020 CConfFileParser & operator=(const CConfFileParser &right);
00021
00022 bool parse () throw (CConfException);
00023
00024 void setFileName (std::string strFileName);
00025
00026
00027
00028 protected:
00029
00030
00031 private:
00032
00033 const std::string get_strFileName () const;
00034 void set_strFileName (std::string value);
00035
00036
00037
00038 private:
00039
00040
00041 std::string m_strFileName;
00042
00043
00044
00045 };
00046
00047
00048
00049 inline const std::string CConfFileParser::get_strFileName () const
00050 {
00051 return m_strFileName;
00052 }
00053
00054 inline void CConfFileParser::set_strFileName (std::string value)
00055 {
00056 m_strFileName = value;
00057 }
00058
00059 }
00060
00061 #endif