28.06.2014 Views

Templatized C++ Command Line Parser Library Kristi Potter April 12 ...

Templatized C++ Command Line Parser Library Kristi Potter April 12 ...

Templatized C++ Command Line Parser Library Kristi Potter April 12 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Cmd<strong>Line</strong> Class<br />

Cmd<strong>Line</strong> ( const std::string &message,<br />

const char delimiter = ' ',<br />

const std::string &version = "none",<br />

bool helpAndVersion = true)<br />

• message: displayed in usage output<br />

• delimiter: separates argument flag from value<br />

• version: displayed in --version<br />

• helpAndVersion: create message switches<br />

6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!