00001 /* $Id: OSCommandLineReader.h 4263 2011-09-09 20:19:26Z Gassmann $ */ 00017 #ifndef _OSCOMMANDLINEREADER_H 00018 #define _OSCOMMANDLINEREADER_H 00019 00020 00021 #include "OSCommandLine.h" 00022 #include "OSErrorClass.h" 00023 00024 00025 #include <string> 00026 00027 00039 class OSCommandLineReader 00040 { 00041 00042 00043 public: 00044 00051 OSCommandLineReader( ); 00052 00057 ~OSCommandLineReader(); 00058 00059 00069 OSCommandLine *readCommandLine(const std::string& osss) throw(ErrorClass); 00070 00071 00078 OSCommandLine *parseString(const std::string& osss) throw(ErrorClass); 00079 00080 private: 00084 OSCommandLine *m_oscommandline; 00085 }; 00086 #endif