| 219 | } |
| 220 | |
| 221 | void ProtXMLFile::endElement(const XMLCh* const /*uri*/, const XMLCh* const /*local_name*/, const XMLCh* const qname) |
| 222 | { |
| 223 | String tag = sm_.convert(qname); |
| 224 | |
| 225 | |
| 226 | if (tag == "protein_group") |
| 227 | { |
| 228 | prot_id_->insertProteinGroup(protein_group_); |
| 229 | } |
| 230 | else if (tag == "peptide") |
| 231 | { |
| 232 | pep_id_->insertHit(*pep_hit_); |
| 233 | delete pep_hit_; |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | void ProtXMLFile::registerProtein_(const String& protein_name) |
| 238 | { |
nothing calls this directly
no test coverage detected