| 96 | } |
| 97 | |
| 98 | FilesContainerBase::TagInfo const * FilesContainerBase::GetInfo(Tag const & tag) const |
| 99 | { |
| 100 | auto i = lower_bound(m_info.begin(), m_info.end(), tag, LessInfo()); |
| 101 | if (i != m_info.end() && i->m_tag == tag) |
| 102 | return &(*i); |
| 103 | else |
| 104 | return 0; |
| 105 | } |
| 106 | |
| 107 | namespace detail |
| 108 | { |