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

Classes

class  Blob
 
class  BlobBuffer
 
class  BlobBufferFactory
 
struct  BlobUtil
 
struct  BlobUtilAsciiDumper
 
struct  BlobUtilHexDumper
 
class  InBlobStreamBuf
 
class  OutBlobStreamBuf
 
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

◆ operator!=() [1/2]

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.

◆ operator!=() [2/2]

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.

◆ operator<<() [1/3]

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.

◆ operator<<() [2/3]

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

Ascii-dump to the specified stream the bytes of the blob referenced by the specified rhs starting with the min(rhs.d_offset, rhs.d_blob_p->length()) byte and until min(rhs.d_offset + rhs.d_length, rhs.d_blob_p->length()) byte, and return a reference to the modifiable stream.

◆ operator<<() [3/3]

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

Hex-dump to the specified stream the bytes of the blob referenced by the specified rhs starting with the min(rhs.d_offset, rhs.d_blob_p->length()) byte and until min(rhs.d_offset + rhs.d_length, rhs.d_blob_p->length()) byte, and return a reference to the modifiable stream.

◆ operator==() [1/2]

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.

◆ operator==() [2/2]

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.

◆ swap() [1/2]

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.

◆ swap() [2/2]

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.