| 452 | } |
| 453 | |
| 454 | const MdfBlock* MdfBlock::HeaderBlock() const { |
| 455 | if (BlockType() == "HD") { |
| 456 | return this; |
| 457 | } |
| 458 | return parent_ != nullptr ? parent_->HeaderBlock() : nullptr; |
| 459 | } |
| 460 | |
| 461 | const MdfBlock* MdfBlock::DgBlock() const { |
| 462 | if (BlockType() == "DG") { |