Quick Links:

bal | bbl | bdl | bsl

Namespaces | Classes | Typedefs | Functions

bslx Namespace Reference
[Component bslx_byteinstreamComponent bslx_byteoutstreamComponent bslx_genericinstreamComponent bslx_genericoutstreamComponent bslx_instreamfunctionsComponent bslx_marshallingutilComponent bslx_outstreamfunctionsComponent bslx_streambufinstreamComponent bslx_streambufoutstreamComponent bslx_testinstreamComponent bslx_testinstreamexceptionComponent bslx_testoutstreamComponent bslx_typecodeComponent bslx_versionfunctions]

Namespaces

namespace  InStreamFunctions
namespace  OutStreamFunctions
namespace  VersionFunctions_Impl
namespace  VersionFunctions

Classes

class  ByteInStream
class  ByteOutStream
class  GenericInStream
class  GenericOutStream
struct  MarshallingUtil
class  TestInStream
class  TestInStreamException
class  TestOutStream
struct  TypeCode
class  VersionFunctions_DoesNotHaveBdexVersion
class  VersionFunctions_HasBdexVersion
struct  VersionFunctions_NonFundamentalImpl
struct  VersionFunctions_NonFundamentalImpl< bsl::vector< TYPE, ALLOC > >

Typedefs

typedef GenericInStream
< bsl::streambuf > 
StreambufInStream
typedef GenericOutStream
< bsl::streambuf > 
StreambufOutStream

Functions

bsl::ostream & operator<< (bsl::ostream &stream, const ByteInStream &object)
template<class TYPE >
ByteInStreamoperator>> (ByteInStream &stream, TYPE &value)
bsl::ostream & operator<< (bsl::ostream &stream, const ByteOutStream &object)
template<class TYPE >
ByteOutStreamoperator<< (ByteOutStream &stream, const TYPE &value)
template<class STREAMBUF , class TYPE >
GenericInStream< STREAMBUF > & operator>> (GenericInStream< STREAMBUF > &stream, TYPE &value)
template<class STREAMBUF , class TYPE >
GenericOutStream< STREAMBUF > & operator<< (GenericOutStream< STREAMBUF > &stream, const TYPE &value)
bsl::ostream & operator<< (bsl::ostream &stream, const TestInStream &object)
template<class TYPE >
TestInStreamoperator>> (TestInStream &stream, TYPE &value)
bsl::ostream & operator<< (bsl::ostream &stream, const TestOutStream &object)
template<class TYPE >
TestOutStreamoperator<< (TestOutStream &stream, const TYPE &value)
bsl::ostream & operator<< (bsl::ostream &stream, TypeCode::Enum value)

Typedef Documentation

typedef GenericInStream<bsl::streambuf> bslx::StreambufInStream
typedef GenericOutStream<bsl::streambuf> bslx::StreambufOutStream

Function Documentation

bsl::ostream& bslx::operator<< ( bsl::ostream &  stream,
const ByteInStream &  object 
)

Write the specified object to the specified output stream in some reasonable (multi-line) format, and return a reference to stream.

template<class TYPE >
ByteInStream& bslx::operator>> ( ByteInStream &  stream,
TYPE &  value 
)

Read the specified value from the specified input 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.

bsl::ostream& bslx::operator<< ( bsl::ostream &  stream,
const ByteOutStream &  object 
)

Write the specified object to the specified output stream in some reasonable (multi-line) format, and return a reference to stream.

template<class TYPE >
ByteOutStream& bslx::operator<< ( ByteOutStream &  stream,
const TYPE &  value 
)

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 >
GenericInStream<STREAMBUF>& bslx::operator>> ( GenericInStream< STREAMBUF > &  stream,
TYPE &  value 
)

Read the specified value from the specified input 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>& bslx::operator<< ( GenericOutStream< STREAMBUF > &  stream,
const TYPE &  value 
)

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.

bsl::ostream& bslx::operator<< ( bsl::ostream &  stream,
const TestInStream &  object 
)

Write the specified object to the specified output stream in some reasonable (multi-line) format, and return a reference to stream.

template<class TYPE >
TestInStream& bslx::operator>> ( TestInStream &  stream,
TYPE &  value 
)

Read the specified value from the specified input 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.

bsl::ostream& bslx::operator<< ( bsl::ostream &  stream,
const TestOutStream &  object 
)

Write the specified object to the specified output stream in some reasonable (multi-line) format, and return a reference to stream.

template<class TYPE >
TestOutStream& bslx::operator<< ( TestOutStream &  stream,
const TYPE &  value 
)

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.

bsl::ostream& bslx::operator<< ( bsl::ostream &  stream,
TypeCode::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 TypeCode::Enum value. Note that this method has the same behavior as

      TypeCode::print(stream, value, 0, -1);