|
BDE 4.14.0 Production release
|
#include <bdlbb_blobutil.h>
Public Member Functions | |
| BlobUtilAsciiDumper (const Blob *blob) | |
| BlobUtilAsciiDumper (const Blob *blob, int length) | |
| BlobUtilAsciiDumper (const Blob *blob, int offset, int length) | |
Public Attributes | |
| const Blob * | d_blob_p |
| int | d_offset |
| int | d_length |
Utility for ascii 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 an ascii dumper for the specified blob that dumps the entire blob to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilAsciiDumper&) for details.
|
inline |
Create an ascii dumper for the specified blob that ascii dumps the first min(length, blob->length()) bytes of the blob to the output stream when passed to operator<<. See operator<<(bsl::ostream&, const BlobUtilAsciiDumper&) for details. The behavior is undefined unless 0 <= length.
|
inline |
Create a hex dumper for the specified blob that ascii 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 BlobUtilAsciiDumper&) for details. The behavior is undefined unless 0 <= offset && 0 <= length.
| const Blob* bdlbb::BlobUtilAsciiDumper::d_blob_p |
| int bdlbb::BlobUtilAsciiDumper::d_length |
| int bdlbb::BlobUtilAsciiDumper::d_offset |