Return a const reference to the value of the option having name.
Declared in <balcl_commandline.h>
bsl::vector<bdlt::Datetime> const&
theDatetimeArray(std::string_view const& name) const;
The behavior is undefined unless this command-line object isParsed(), hasOption(name), OptionType::e_DATETIME_ARRAY == type(name), and hasValue(name).
const reference to the value of the named option
| Name | Description |
|---|---|
| name | option name to look up |