18 #ifndef INCLUDED_CMDLINEARGS
19 #define INCLUDED_CMDLINEARGS
43 bool Has(
const char* name)
const;
50 CStr
Get(
const char* name)
const;
56 std::vector<CStr>
GetMultiple(
const char* name)
const;
65 typedef std::vector<std::pair<CStr, CStr> >
ArgsT;
70 #endif // INCLUDED_CMDLINEARGS
CStr Get(const char *name) const
Get the value of the named parameter.
OsPath GetArg0() const
Get the value of argv[0], which is typically meant to be the name/path of the program (but the actual...
std::vector< CStr > GetMultiple(const char *name) const
Get all the values given to the named parameter.
bool Has(const char *name) const
Test whether the given name was specified, as either -name or -name=value
std::vector< std::pair< CStr, CStr > > ArgsT