| 570 | } |
| 571 | |
| 572 | std::string MdfBlock::Comment() const { |
| 573 | if (!md_comment_) { |
| 574 | return {}; |
| 575 | } |
| 576 | const auto *md = dynamic_cast<const Tx4Block *>(md_comment_.get()); |
| 577 | return md != nullptr ? md->TxComment() : ""; |
| 578 | } |
| 579 | |
| 580 | MdfBlock *MdfBlock::Find(int64_t index) const { |
| 581 | if (file_position_ == index) { |