Write the string representation of value to stream in a single‐line format.

Synopsis

Declared in <bslx_typecode.h>

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

Description

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

Return Value

a reference to stream

Parameters

Name

Description

stream

output stream to which value is written

value

enumeration value to format

Created with MrDocs