MCPcopy Create free account
hub / github.com/PDAL/PDAL / dump

Method dump

plugins/e57/libE57Format/src/BlobNodeImpl.cpp:209–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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}

Callers 1

BlobNodeImplMethod · 0.45

Calls 2

spaceFunction · 0.85
typeFunction · 0.50

Tested by

no test coverage detected