Quick Links:

bal | bbl | bdl | bsl

Classes | Functions

bdlbb Namespace Reference
[Component bdlbb_blobComponent bdlbb_blobstreambufComponent bdlbb_blobutilComponent bdlbb_pooledblobbufferfactoryComponent bdlbb_simpleblobbufferfactory]

Classes

class  BlobBuffer
class  BlobBufferFactory
class  Blob
class  InBlobStreamBuf
class  OutBlobStreamBuf
struct  BlobUtil
struct  BlobUtilAsciiDumper
struct  BlobUtilHexDumper
class  PooledBlobBufferFactory
class  SimpleBlobBufferFactory

Functions

bool operator== (const BlobBuffer &lhs, const BlobBuffer &rhs)
bool operator!= (const BlobBuffer &lhs, const BlobBuffer &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const BlobBuffer &buffer)
void swap (BlobBuffer &a, BlobBuffer &b)
bool operator== (const Blob &lhs, const Blob &rhs)
bool operator!= (const Blob &lhs, const Blob &rhs)
void swap (Blob &a, Blob &b)
bsl::ostream & operator<< (bsl::ostream &stream, const BlobUtilAsciiDumper &rhs)
bsl::ostream & operator<< (bsl::ostream &stream, const BlobUtilHexDumper &rhs)

Function Documentation

bool bdlbb::operator== ( const BlobBuffer &  lhs,
const BlobBuffer &  rhs 
)

Return true if the specified lhs and rhs blob buffers have the same value, and false otherwise. Two blob buffers have the same value if they represent the same buffer of the same size.

bool bdlbb::operator!= ( const BlobBuffer &  lhs,
const BlobBuffer &  rhs 
)

Return true if the specified lhs and rhs blob buffers do not have the same value, and false otherwise. Two blob buffers do not have the same value if they do not represent the same buffer of the same size.

bsl::ostream& bdlbb::operator<< ( bsl::ostream &  stream,
const BlobBuffer &  buffer 
)

Format the specified blob buffer to the specified output stream, and return a reference to the modifiable stream.

void bdlbb::swap ( BlobBuffer &  a,
BlobBuffer &  b 
)

Efficiently exchange the values of the specified a and b objects. This method provides the no-throw exception-safety guarantee.

bool bdlbb::operator== ( const Blob &  lhs,
const Blob &  rhs 
)

Return true if the specified lhs and rhs blobs have the same value, and false otherwise. Two blobs have the same value if they hold the same buffers, and have the same length.

bool bdlbb::operator!= ( const Blob &  lhs,
const Blob &  rhs 
)

Return true if the specified lhs and rhs blobs do not have the same value, and false otherwise. Two blobs do not have the same value if they do not hold the same buffers, or do not have the same length.

void bdlbb::swap ( Blob &  a,
Blob &  b 
)

Efficiently exchange the values of the specified a and b objects. This method provides the no-throw exception-safety guarantee if both objects were created with the same allocator.

bsl::ostream& bdlbb::operator<< ( bsl::ostream &  stream,
const BlobUtilAsciiDumper &  rhs 
)

Ascii-dump the blob referenced by the specified rhs to the specified stream, and return a reference to the modifiable stream.

bsl::ostream& bdlbb::operator<< ( bsl::ostream &  stream,
const BlobUtilHexDumper &  rhs 
)

Hex-dump the blob referenced by the specified rhs to the specified stream, and return a reference to the modifiable stream.