Stream insertion operators

Synopses

Declared in <balcl_commandline.h>

Write the specified enumeration value to the specified output stream.

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

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,
    OptionValue_NullOf 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,
    OptionValue const& object);

Write the value of the specified rhs to the specified stream.

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

Write the value of the specified rhs to the specified stream.

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

Write the value of the specified rhs to the specified stream.

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

Write the value of the specified rhs to the specified stream.

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

Write the options and values in rhs to stream in human‐readable form.

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

Return Value

  • reference to stream

  • a reference to stream

Parameters

Name

Description

stream

output stream

value

enumeration value to format

object

object to format

rhs

object to format

Created with MrDocs