26 Token = TokenStart = Buffer;
71 if (*Token ==
_T(
'\"')) {
73 TokenLen =
static_cast<int>(
_tcscspn(Token,
_T(
"\"")));
82 TokenLen =
static_cast<int>(
_tcscspn(Token,
_T(
"\"")));
96 if (TokenLen > 0 && Token[TokenLen - 1] == 0)
97 return tstring(Token, TokenLen - 1);
99 return tstring(Token, TokenLen);
TCmdLine(const tstring &cmdLine)
@ Option
Option type token. Leading / or - skipped by Token.
@ Value
Value for name or option. Leading : or = skipped by Token.
@ Start
No tokens have been parsed yet.
@ Name
Name type token, has no leading / or -.
TKind NextToken(bool removeCurrent=false)
Command line parsing class.
Reliable platform independent header for common memory and string functions.
Object Windows Library (OWLNext Core)