PT-Cooling-Log 1.0
PTCoolingLogViewer
|
00001 #ifndef _Switch_hh_ 00002 #define _Switch_hh_ 00003 00011 #include <map> 00012 #include <vector> 00013 #include <string> 00014 00015 class ArgParser; 00016 00017 00018 class Switch : public std::map< std::string, ArgParser* > { 00019 public: 00020 Switch(); 00021 virtual ~Switch(); 00022 00023 bool parse( const std::vector< std::string >& argList ); 00024 00025 private: 00026 std::vector< std::string > divide( const std::string& argv ); 00027 00028 00029 }; 00030 00031 #endif // _Switch_hh_