Stream insertion operators
Declared in <bslx_byteinstream.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 TypeCode::Enum value. Note that this method has the same behavior as ` TypeCode::print(stream, value, 0, -1); `
std::ostream&
operator<<(
std::ostream& stream,
TypeCode::Enum value);
» more...
Write the specified value to the specified output stream following the requirements of the BDEX protocol (see the bslx package-level documentation), and return a reference to stream. The behavior is undefined unless TYPE is BDEX-compliant.
template<
class STREAMBUF,
class TYPE>
GenericOutStream<STREAMBUF>&
operator<<(
GenericOutStream<STREAMBUF>& stream,
TYPE const& value);
» more...
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);
» more...
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);
» more...
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);
» more...
Write the specified value to the specified output stream following the requirements of the BDEX protocol (see the bslx package-level documentation), and return a reference to stream. The behavior is undefined unless TYPE is BDEX-compliant.
template<class TYPE>
ByteOutStream&
operator<<(
ByteOutStream& stream,
TYPE const& value);
» more...
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);
» more...
Write the specified value to the specified output stream following the requirements of the BDEX protocol (see the bslx package-level documentation), and return a reference to stream. The behavior is undefined unless TYPE is BDEX-compliant.
template<class TYPE>
TestOutStream&
operator<<(
TestOutStream& stream,
TYPE const& value);
» more...