Stream insertion operators
Synopses
Declared in <bslx_byteinstream.h>
Write the string representation of value to stream in a single‐line format.
std::ostream&
operator<<(
std::ostream& stream,
TypeCode::Enum value);
Write the BDEX‐compliant value to the specified output stream.
template<
class STREAMBUF,
class TYPE>
GenericOutStream<STREAMBUF>&
operator<<(
GenericOutStream<STREAMBUF>& stream,
TYPE const& value);
Write the specified object to the specified output stream in some reasonable (multi‐line) format, and return a reference to stream.
std::ostream&
operator<<(
std::ostream& stream,
ByteInStream const& object);
Write the specified object to the specified output stream in some reasonable (multi‐line) format, and return a reference to stream.
std::ostream&
operator<<(
std::ostream& stream,
TestInStream const& object);
Write the specified object to the specified output stream in some reasonable (multi‐line) format, and return a reference to stream.
std::ostream&
operator<<(
std::ostream& stream,
ByteOutStream const& object);
Write the BDEX‐compliant value to the specified output stream.
template<class TYPE>
ByteOutStream&
operator<<(
ByteOutStream& stream,
TYPE const& value);
Write the specified object to the specified output stream in some reasonable (multi‐line) format, and return a reference to stream.
std::ostream&
operator<<(
std::ostream& stream,
TestOutStream const& object);
Write a BDEX‐compliant value to the specified test output stream.
template<class TYPE>
TestOutStream&
operator<<(
TestOutStream& stream,
TYPE const& value);
Return Value
a reference to stream
Parameters
Name |
Description |
stream |
output stream to which |
value |
enumeration value to format |
object |
byte in stream to format |
Created with MrDocs