6 #include <msp/parser/loader.h>
7 #include <msp/path/path.h>
8 #include <msp/time/timestamp.h>
11 typedef std::map<std::string, std::string> RawOptionMap;
23 Option(const std::string &, const std::string &, const std::string &);
25 typedef std::map<std::string, Option> OptionMap;
27 void add_option(const std::string &, const std::string &, const std::string &);
28 const Option &get_option(const std::string &) const;
29 const Msp::Time::TimeStamp &get_mtime() const { return mtime; }
30 bool is_option(const std::string &) const;
31 bool process(const RawOptionMap &);
32 void load(const Msp::Path::Path &);
33 void save(const Msp::Path::Path &) const;
35 class Loader: public Msp::Parser::Loader
42 void option(const std::string &, const std::string &);
46 Msp::Time::TimeStamp mtime;