| 68 | |
| 69 | #ifdef E57_ENABLE_DIAGNOSTIC_OUTPUT |
| 70 | void DecodeChannel::dump( int indent, std::ostream &os ) const |
| 71 | { |
| 72 | os << space( indent ) << "dbuf" << std::endl; |
| 73 | dbuf.dump( indent + 4, os ); |
| 74 | |
| 75 | os << space( indent ) << "decoder:" << std::endl; |
| 76 | decoder->dump( indent + 4, os ); |
| 77 | |
| 78 | os << space( indent ) << "bytestreamNumber: " << bytestreamNumber << std::endl; |
| 79 | os << space( indent ) << "maxRecordCount: " << maxRecordCount << std::endl; |
| 80 | os << space( indent ) << "currentPacketLogicalOffset: " << currentPacketLogicalOffset |
| 81 | << std::endl; |
| 82 | os << space( indent ) << "currentBytestreamBufferIndex: " << currentBytestreamBufferIndex |
| 83 | << std::endl; |
| 84 | os << space( indent ) << "currentBytestreamBufferLength: " << currentBytestreamBufferLength |
| 85 | << std::endl; |
| 86 | os << space( indent ) << "inputFinished: " << inputFinished << std::endl; |
| 87 | os << space( indent ) << "isInputBlocked(): " << isInputBlocked() << std::endl; |
| 88 | os << space( indent ) << "isOutputBlocked(): " << isOutputBlocked() << std::endl; |
| 89 | } |
| 90 | #endif |
| 91 | } |