BloombergLP::balcl::OccurrenceInfo::setDefaultValue

Set the type and default value of the associated option to the specified defaultValue. The behavior is undefined unless the this object describes an optional argument (e_REQUIRED != occurrenceType()) and defaultValue.type() is neither OptionType::e_BOOL nor 'OptionType::e_VOID nor a null value (false == defaultValue.isNull()).

Synopsis

Declared in <balcl_occurrenceinfo.h>

void
setDefaultValue(OptionValue const& defaultValue);