! \fn bool SamReadGroupDictionary::Contains(const std::string& readGroupId) const \brief Returns true if dictionary contains read group. \param[in] readGroupId search for read group matching this ID \return \c true if dictionary contains a read group with this ID */
| 158 | \return \c true if dictionary contains a read group with this ID |
| 159 | */ |
| 160 | bool SamReadGroupDictionary::Contains(const std::string& readGroupId) const { |
| 161 | return ( m_lookupData.find(readGroupId) != m_lookupData.end() ); |
| 162 | } |
| 163 | |
| 164 | /*! \fn bool SamReadGroupDictionary::Contains(const SamReadGroup& readGroup) const |
| 165 | \brief Returns true if dictionary contains read group (matching on ID). |