Add missing #include for some headers
[wave300.git] / tools / shared / CmdLine.h
blob34e10416ff16b1574911ecc06e6b9dd65476a5ac
1 /******************************************************************************
3 Copyright (c) 2012
4 Lantiq Deutschland GmbH
6 For licensing information, see the file 'LICENSE' in the root folder of
7 this software module.
9 ******************************************************************************/
10 //$Id: CmdLine.h 5808 2009-01-18 13:37:27Z antonn $
11 #ifndef _CMDLINE_H_INCLUDED_
12 #define _CMDLINE_H_INCLUDED_
14 #if defined(WIN32)
15 #pragma warning(push,3)
16 #endif
18 #include <string>
19 #include <utility>
21 #if defined(WIN32)
22 #pragma warning(pop)
23 #endif
26 using namespace std;
28 class CCmdLine
30 private:
31 const int m_argc;
32 char * const *m_argv;
33 char* isCmdLineParamInternal(const string& paramName);
34 static const char CMD_LINE_DELIMITER;
35 const CCmdLine& operator=(const CCmdLine& other); //Do not allow assignments
36 public:
37 typedef std::pair<string, string> ParamName;
39 CCmdLine(int argc, char* const argv[]);
41 bool isCmdLineParam(const CCmdLine::ParamName& paramName);
42 string getParamValue(const CCmdLine::ParamName& paramName);
43 int getIntParamValue(const CCmdLine::ParamName& paramName);
47 #endif //_CMDLINE_H_INCLUDED_