equality operator
| 76 | |
| 77 | // equality operator |
| 78 | bool InspectInfile::operator==(const InspectInfile& inspect_infile) const |
| 79 | { |
| 80 | if (this != &inspect_infile) |
| 81 | { |
| 82 | bool equal = true; |
| 83 | equal &= (spectra_ == inspect_infile.getSpectra()); |
| 84 | equal &= (enzyme_ == inspect_infile.getEnzyme()); |
| 85 | equal &= (modifications_per_peptide_ == inspect_infile.getModificationsPerPeptide()); |
| 86 | equal &= (blind_ == inspect_infile.getBlind()); |
| 87 | equal &= (maxptmsize_ == inspect_infile.getMaxPTMsize()); |
| 88 | equal &= (precursor_mass_tolerance_ == inspect_infile.getPrecursorMassTolerance()); |
| 89 | equal &= (peak_mass_tolerance_ == inspect_infile.getPeakMassTolerance()); |
| 90 | equal &= (multicharge_ == inspect_infile.getMulticharge()); |
| 91 | equal &= (instrument_ == inspect_infile.getInstrument()); |
| 92 | equal &= (tag_count_ == inspect_infile.getTagCount()); |
| 93 | equal &= (PTMname_residues_mass_type_ == inspect_infile.getModifications()); |
| 94 | return equal; |
| 95 | } |
| 96 | return true; |
| 97 | } |
| 98 | |
| 99 | void InspectInfile::store(const String& filename) |
| 100 | { |
nothing calls this directly
no test coverage detected