| 126 | |
| 127 | #ifdef E57_ENABLE_DIAGNOSTIC_OUTPUT |
| 128 | void VectorNodeImpl::dump( int indent, std::ostream &os ) const |
| 129 | { |
| 130 | // don't checkImageFileOpen |
| 131 | os << space( indent ) << "type: Vector" << " (" << type() << ")" << std::endl; |
| 132 | NodeImpl::dump( indent, os ); // NOLINT(bugprone-parent-virtual-call) |
| 133 | os << space( indent ) << "allowHeteroChildren: " << allowHeteroChildren() << std::endl; |
| 134 | for ( unsigned i = 0; i < children_.size(); i++ ) |
| 135 | { |
| 136 | os << space( indent ) << "child[" << i << "]:" << std::endl; |
| 137 | children_.at( i )->dump( indent + 2, os ); |
| 138 | } |
| 139 | } |
| 140 | #endif |
| 141 | } |