| 452 | //??? use visitor? |
| 453 | #ifdef E57_ENABLE_DIAGNOSTIC_OUTPUT |
| 454 | void StructureNodeImpl::dump( int indent, std::ostream &os ) const |
| 455 | { |
| 456 | // don't checkImageFileOpen |
| 457 | os << space( indent ) << "type: Structure" << " (" << type() << ")" << std::endl; |
| 458 | NodeImpl::dump( indent, os ); |
| 459 | for ( unsigned i = 0; i < children_.size(); i++ ) |
| 460 | { |
| 461 | os << space( indent ) << "child[" << i << "]:" << std::endl; |
| 462 | children_.at( i )->dump( indent + 2, os ); |
| 463 | } |
| 464 | } |
| 465 | #endif |