|
BDE 4.14.0 Production release
|
#include <bdlbb_blobutil.h>
Public Member Functions | |
| BlobUtilHexDumper (const Blob *blob) | |
| BlobUtilHexDumper (const Blob *blob, int length) | |
| BlobUtilHexDumper (const Blob *blob, int offset, int length) | |
Public Attributes | |
| const Blob * | d_blob_p |
| int | d_offset |
| int | d_length |
Utility for hex dumping a blob to standard output streams. This class has operator<< defined for it, so it can be used, for example, in ball logs.
|
inlineexplicit |
Create a hex dumper for the specified blob that hex dumps the entire blob to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilHexDumper&) for details.
|
inline |
Create a hex dumper for the specified blob that hex dumps the first min(length, blob->length()) bytes of the blob to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilHexDumper&) for details. The behavior is undefined unless 0 <= length.
|
inline |
Create a hex dumper for the specified blob that hex dumps the bytes of the blob starting with the min(offset, blob->length()) byte and until min(offset + length, blob->length()) byte to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilHexDumper&) for details. The behavior is undefined unless 0 <= offset && 0 <= length.
| const Blob* bdlbb::BlobUtilHexDumper::d_blob_p |
| int bdlbb::BlobUtilHexDumper::d_length |
| int bdlbb::BlobUtilHexDumper::d_offset |