BloombergLP::balcl::CommandLine::theDoubleArray

Return a const reference to the value of the option having name.

Synopsis

Declared in <balcl_commandline.h>

bsl::vector<double> const&
theDoubleArray(std::string_view const& name) const;

Description

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

Return Value

const reference to the value of the named option

Parameters

NameDescription
nameoption name to look up