Stream insertion operators

Synopses

Declared in <bdlt_calendar.h>

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 bdlt::DayOfWeek::Enum value. Note that this method has the same behavior as ` bdlt::DayOfWeek::print(stream, value, 0, ‐1); `

std::ostream&
operator<<(
    std::ostream& stream,
    DayOfWeek::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 bdlt::MonthOfYear::Enum value. Note that this method has the same behavior as ` bdlt::MonthOfYear::print(stream, value, 0, ‐1); `

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

Write the value of the specified date object to the specified output stream in a single‐line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); `

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 value of the specified object to the specified output stream in a single‐line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, ‐1).

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

Write the value of the specified time object to the specified output stream in a single‐line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); `

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

Write the value of the specified object object to the specified output stream in a single‐line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); `

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

Write the value of the specified rhs object to the specified output stream in a single‐line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, ‐1), but with the attribute names elided.

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

Write the value of the specified object to the specified output stream in a single‐line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, ‐1), but with the attribute names elided.

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

Write the value of the specified rhs object to the specified output stream in a single‐line format, and return a reference providing modifiable access to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, ‐1), but with the attribute names elided.

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. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, ‐1), but with the attribute names elided.

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. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, ‐1), but with the attribute names elided.

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

Write the value of the specified timetable to the specified output stream, and return a reference to the modifiable 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. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice. Also note that this method has the same behavior as object.print(stream, 0, ‐1), but with the attribute names elided.

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

Created with MrDocs