diff --git a/coding/file_container.hpp b/coding/file_container.hpp index fca57f4459..fe8619b7a7 100644 --- a/coding/file_container.hpp +++ b/coding/file_container.hpp @@ -55,6 +55,12 @@ public: uint32_t logPageCount = 10); FileReader GetReader(Tag const & tag) const; + + template void ForEachTag(F f) const + { + for (size_t i = 0; i < m_info.size(); ++i) + f(m_info[i].m_tag); + } }; class FilesContainerW : public FilesContainerBase