BDE 4.14.0 Production release
|
Classes | |
struct | BasicActual360 |
struct | BasicActual36525 |
struct | BasicActual365Fixed |
class | BasicBasicDayCountAdapter |
class | BasicDateRangeDayCountAdapter |
class | BasicDayCount |
struct | BasicDayCountUtil |
struct | BasicIsdaActualActual |
struct | BasicIsma30360 |
struct | BasicNl365 |
struct | BasicPsa30360Eom |
struct | BasicSia30360Eom |
struct | BasicSia30360Neom |
struct | CalendarBus252 |
class | CalendarDateRangeDayCountAdapter |
struct | CalendarDayCountUtil |
class | DateRangeDayCount |
struct | DayCountConvention |
class | PeriodDateRangeDayCountAdapter |
struct | PeriodDayCountUtil |
struct | PeriodIcmaActualActual |
class | TerminatedBasicDayCountAdapter |
class | TerminatedDateRangeDayCountAdapter |
struct | TerminatedDayCountUtil |
struct | TerminatedIsda30360Eom |
Functions | |
bsl::ostream & | operator<< (bsl::ostream &stream, DayCountConvention::Enum value) |
template<class STREAM > | |
STREAM & | bdexStreamIn (STREAM &stream, DayCountConvention::Enum &variable, int version) |
template<class STREAM > | |
STREAM & | bdexStreamOut (STREAM &stream, const DayCountConvention::Enum &value, int version) |
int | maxSupportedBdexVersion (const DayCountConvention::Enum *, int versionSelector) |
STREAM & bbldc::bdexStreamIn | ( | STREAM & | stream, |
DayCountConvention::Enum & | variable, | ||
int | version | ||
) |
Load into the specified variable
the DayCountConvention::Enum
value read from the specified input stream
using the specified version
format, and return a reference to stream
. If stream
is initially invalid, this operation has no effect. If version
is not supported by DayCountConvention
, variable
is unaltered and stream
is invalidated, but otherwise unmodified. If version
is supported by DayCountConvention
but stream
becomes invalid during this operation, variable
has an undefined, but valid, state. The behavior is undefined unless STREAM
is BDEX-compliant. Note that no version is read from stream
. See the bslx
package-level documentation for more information on BDEX streaming of value-semantic types and containers.
STREAM & bbldc::bdexStreamOut | ( | STREAM & | stream, |
const DayCountConvention::Enum & | 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.
int bbldc::maxSupportedBdexVersion | ( | const DayCountConvention::Enum * | , |
int | versionSelector | ||
) |
Return the maximum valid BDEX format version, as indicated by the specified versionSelector
, to be passed to the bdexStreamOut
method while streaming an object of the type DayCountConvention::Enum
. Note that it is highly recommended that versionSelector
be formatted as "YYYYMMDD", a date representation. Also note that versionSelector
should be a compile-time-chosen value that selects a format version supported by both externalizer and unexternalizer. See the bslx
package-level documentation for more information on BDEX streaming of value-semantic types and containers.
bsl::ostream & bbldc::operator<< | ( | bsl::ostream & | stream, |
DayCountConvention::Enum | value | ||
) |
Write the string representation of the specified enumeration value
to the specified output stream
in a single-line format, and return a reference to stream
. See toAscii
for what constitutes the string representation of a bbldc::DayCountConvention::Enum
value. Note that this method has the same behavior as