BloombergLP::balcl::CommandLine::theChar

Return the value of the option having the specified name.

Synopsis

Declared in <balcl_commandline.h>

char
theChar(std::string_view const& name) const;

Description

The behavior is undefined unless this command-line object isParsed(), hasOption(name), OptionType::e_CHAR == type(name), and hasValue(name).

Return Value

value of the named option

Parameters

NameDescription
nameoption name to look up