CmdLineParser

Handles multiple command line formats
Download

CmdLineParser Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Pavel Antonov
  • Publisher web site:
  • http://www.codeproject.com/Members/Pavel-Antonov
  • Operating Systems:
  • Windows All
  • File Size:
  • 53 KB

CmdLineParser Tags


CmdLineParser Description

The CmdLineParser application was developed to be a small test tool that uses an intuitive and extensible command line parser class that handles multiple command line formats.Getting list of arguments from command line is a common task which is required by a lot of applications. However, there is no standard solution. So I wrote class CCmdLineParser, which can parse arguments from command line, if they are typed in folowing form: - /Key - /KeyWithValue:Value - /KeyWithComplexValue:"Some really complex value of /KeyWithComplexValue" Of course, multiple keys, Unicode and long (up to 32Kb) command lines are supported. This implementation requires the MFC or ATL CString class, or some clone with similar interface as well as the STL class map.


CmdLineParser Related Software