Return a const reference to the value of the option having the specified name.
Synopsis
Declared in <balcl_commandline.h>
bsl::string const&
theString(std::string_view const& name) const;
Description
The behavior is undefined unless this handle object has a name option (i.e., 0 <= index(name)), the option has type bsl::string (i.e., OptionType::e_STRING == type(name)), and the option has a value (i.e., false == value(name).isNull()).
Return Value
const reference to the value of the named option
Parameters
Name |
Description |
name |
option name to look up |
Created with MrDocs