BDE 4.14.0 Production release
Loading...
Searching...
No Matches

Namespaces

namespace  InStreamFunctions
 
namespace  OutStreamFunctions
 
namespace  VersionFunctions
 
namespace  VersionFunctions_Impl
 

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

◆ StreambufInStream

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

This class facilitates the unexternalization of values (and C-style arrays of values) of the fundamental integral and floating-point types in a data-independent, platform-neutral representation. It is currently a typedef for bslx::GenericInStream<bsl::streambuf>.

◆ StreambufOutStream

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

This class facilitates the externalization of values (and C-style arrays of values) of the fundamental integral and floating-point types in a data-independent, platform-neutral representation. It is currently a typedef for bslx::GenericOutStream<bsl::streambuf>.

Function Documentation

◆ operator<<() [1/8]

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.

◆ operator<<() [2/8]

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.

◆ operator<<() [3/8]

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.

◆ operator<<() [4/8]

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.

◆ operator<<() [5/8]

bsl::ostream & bslx::operator<< ( bsl::ostream &  stream,
TypeCode::Enum  value 
)
inline

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);
static bsl::ostream & print(bsl::ostream &stream, TypeCode::Enum value, int level=0, int spacesPerLevel=4)

◆ operator<<() [6/8]

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

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.

◆ operator<<() [7/8]

template<class STREAMBUF , class TYPE >
GenericOutStream< STREAMBUF > & bslx::operator<< ( GenericOutStream< STREAMBUF > &  stream,
const TYPE &  value 
)
inline

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.

◆ operator<<() [8/8]

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

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.

◆ operator>>() [1/3]

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

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.

◆ operator>>() [2/3]

template<class STREAMBUF , class TYPE >
GenericInStream< STREAMBUF > & bslx::operator>> ( GenericInStream< STREAMBUF > &  stream,
TYPE &  value 
)
inline

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.

◆ operator>>() [3/3]

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

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.