46 CommandLine(
const unsigned int ANumArguments,
const oschar_t*
const*
const AArguments);
48 void RunHandler(
Callback ACallback,
const int AFullNameKey,
const int ADescriptionKey,
const API::String::CStyle& AShortFlag,
const API::String::CStyle& ALongFlag,
const unsigned int ANumExpectedTokens,
const unsigned int ANumOptionalTokens,
unsigned long long AMaxInvocations)
const final override;
void RunHandler(Callback ACallback, const int AFullNameKey, const int ADescriptionKey, const API::String::CStyle &AShortFlag, const API::String::CStyle &ALongFlag, const unsigned int ANumExpectedTokens, const unsigned int ANumOptionalTokens, unsigned long long AMaxInvocations) const finaloverride
Adds a command line flag handler.
TokenType
Recognized token variations.
std::add_pointer< bool(const API::Container::Deque< const API::String::Dynamic * > &AParameters)>::type Callback
Called to handle a valid command line parameters.
std::vector< AType, Interop::STLAllocator< AType >> Vector
std::vector algorithms using the CyberEngine's allocator
CommandLine(const unsigned int ANumArguments, const oschar_t *const *const AArguments)
Parse the command line into tokens.
Used for string of allocated variable length.
An interface for running callbacks based on command line parameters.
A basic char contained string.
static API::Container::Vector< Token > ParseTokens(const unsigned int ANumArguments, const oschar_t *const *const AArguments)
Parse the command line into tokens.
A parsed command line token.
API::String::Dynamic FEntry
The string.
API::Container::Vector< Token > FTokens
The ordered array of tokens.
TokenType FType
The type of prefix the string is if any.
Command line string parser and manager.