Write the enum value to stream using BDEX.
Declared in <bbldc_daycountconvention.h>
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
DayCountConvention::Enum const& value,
int version);
Write the specified value, using the specified version format, to the specified output stream, and return a reference to stream. If stream is initially invalid, this operation has no effect. If version is not supported by DayCountConvention, stream is invalidated, but otherwise unmodified. The behavior is undefined unless STREAM is BDEX-compliant. Note that version is not written to stream. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.
a reference to stream
| Name | Description |
|---|---|
| stream | output stream receiving the BDEX encoding |
| value | enumeration value to stream |
| version | BDEX format version to use |