1 /******************************************************************************
4 Lantiq Deutschland GmbH
6 For licensing information, see the file 'LICENSE' in the root folder of
9 ******************************************************************************/
10 //$Id: CmdLine.h 5808 2009-01-18 13:37:27Z antonn $
11 #ifndef _CMDLINE_H_INCLUDED_
12 #define _CMDLINE_H_INCLUDED_
15 #pragma warning(push,3)
33 char* isCmdLineParamInternal(const string
& paramName
);
34 static const char CMD_LINE_DELIMITER
;
35 const CCmdLine
& operator=(const CCmdLine
& other
); //Do not allow assignments
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_