| 207 | |
| 208 | #ifdef E57_ENABLE_DIAGNOSTIC_OUTPUT |
| 209 | void BlobNodeImpl::dump( int indent, std::ostream &os ) const |
| 210 | { |
| 211 | // don't checkImageFileOpen |
| 212 | os << space( indent ) << "type: Blob" << " (" << type() << ")" << std::endl; |
| 213 | NodeImpl::dump( indent, os ); |
| 214 | os << space( indent ) << "blobLogicalLength_: " << blobLogicalLength_ << std::endl; |
| 215 | os << space( indent ) << "binarySectionLogicalStart: " << binarySectionLogicalStart_ |
| 216 | << std::endl; |
| 217 | os << space( indent ) << "binarySectionLogicalLength: " << binarySectionLogicalLength_ |
| 218 | << std::endl; |
| 219 | // size_t i; |
| 220 | // for (i = 0; i < blobLogicalLength_ && i < 10; i++) { |
| 221 | // uint8_t b; |
| 222 | // read(&b, i, 1); |
| 223 | // os << space(indent) << "data[" << i << "]: "<< static_cast<int>(b) |
| 224 | // << std::endl; |
| 225 | // } |
| 226 | // if (i < blobLogicalLength_) |
| 227 | // os << space(indent) << "more data unprinted..." << std::endl; |
| 228 | } |
| 229 | #endif |
| 230 | |
| 231 | } |
no test coverage detected