Stream insertion operators

Synopses

Declared in <bdlt_calendar.h>

Write the specified enumeration value to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DayOfWeek::Enum value);

Write the specified enumeration value to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    MonthOfYear::Enum value);

Write the specified date to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Date const& date);

Write the specified rhs set to the specified output stream in some reasonable (single‐line) format, and return a reference to stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DayOfWeekSet const& rhs);

Write the value of the specified calendar to the specified output stream, and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    PackedCalendar const& calendar);

Write the value of the specified calendar to the specified output stream, and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Calendar const& calendar);

Write the specified object to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DatetimeInterval const& object);

Write the specified time to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Time const& time);

Write the specified datetime to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Datetime const& object);

Write the specified rhs to the specified stream in single‐line form.

std::ostream&
operator<<(
    std::ostream& stream,
    DateTz const& rhs);

Write the specified object to the specified stream in single‐line form.

std::ostream&
operator<<(
    std::ostream& stream,
    TimeTz const& object);

Write the specified rhs to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DatetimeTz const& rhs);

Write the value of the specified object to the specified output stream in a single‐line format, and return a reference to stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Iso8601UtilConfiguration const& object);

Write the value of the specified object to the specified output stream in a single‐line format, and return a reference to stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Iso8601UtilParseConfiguration const& object);

Write timetable to stream and return a reference to stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Timetable const& timetable);

Write the value of the specified object to the specified output stream in a single‐line format, and return a reference to stream.

std::ostream&
operator<<(
    std::ostream& stream,
    FixUtilConfiguration const& object);

Return Value

  • a reference to stream

  • reference to stream

  • a reference to the modifiable stream

  • a reference providing modifiable access to stream

Parameters

Name

Description

stream

output stream

value

enumeration value to write

date

date to write

rhs

set to write

calendar

calendar to write

object

time interval to write

time

time value to write

timetable

timetable to write

Created with MrDocs