00001
00002
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00031
00032 #ifndef RCSC_CONFIG_FILE_PARSER_H
00033 #define RCSC_CONFIG_FILE_PARSER_H
00034
00035 #include <rcsc/param/param_parser.h>
00036
00037 #include <string>
00038
00039 namespace rcsc {
00040
00045 class ConfFileParser
00046 : public ParamParser {
00047 private:
00049 const std::string M_file_path;
00050
00052 const std::string M_delimiters;
00053
00055 const std::string M_namespace;
00056
00058 ConfFileParser();
00059 public:
00066 explicit
00067 ConfFileParser( const std::string & file_path,
00068 const std::string & delim = ":=",
00069 const std::string & name_space = "" );
00070
00076 bool parse( ParamMap & param_map );
00077 };
00078
00079 }
00080
00081 #endif