34 auto it = p_protein->
begin();
35 while(it != p_protein->
end())
100 std::list<GrpPeptide *>::const_iterator innerIt, outerIt, innerEnd, outerEnd;
107 while((innerIt != innerEnd) && (outerIt != outerEnd))
109 if(*innerIt > *outerIt)
114 if(*innerIt < *outerIt)
118 if(*innerIt == *outerIt)
124 if(innerIt == innerEnd)
134 std::list<GrpPeptide *>::const_iterator innerIt, outerIt, innerEnd, outerEnd;
142 while((innerIt != innerEnd) && (outerIt != outerEnd))
144 if(*innerIt > *outerIt)
149 if(*innerIt < *outerIt)
154 if(*innerIt == *outerIt)
166 qDebug() <<
"GrpPeptideSet::addAll begin";
169 std::list<GrpPeptide *>::const_iterator itIn(peptideSetIn.
m_peptidePtrList.begin());
170 std::list<GrpPeptide *>::const_iterator itInEnd(peptideSetIn.
m_peptidePtrList.end());
172 while((itIn != itInEnd) && (it != itEnd))
192 while(itIn != itInEnd)
197 qDebug() <<
"GrpPeptideSet::addAll end";
204 qDebug() <<
"GrpPeptideSet::numbering begin";
211 p_grp_peptide->setRank(i);
215 qDebug() <<
"GrpPeptideSet::numbering end";
222 qDebug() <<
"GrpPeptideSet::setGroupNumber begin";
225 p_grp_peptide->setGroupNumber(i);
228 qDebug() <<
"GrpPeptideSet::setGroupNumber end";
231std::vector<const GrpPeptide *>
234 std::vector<const GrpPeptide *> peptide_list;
237 peptide_list.push_back(peptide);
252 infos.append((*it)->getSequence() +
" " +
253 QString(
"0x%1").arg((quintptr)*it, QT_POINTER_SIZE * 2, 16, QChar(
'0')) +
"\n");
std::list< GrpPeptide * > m_peptidePtrList
const QString printInfos() const
void addAll(const GrpPeptideSet &peptideSet)
std::vector< const GrpPeptide * > getGrpPeptideList() const
bool operator==(const GrpPeptideSet &other) const
bool containsAny(const GrpPeptideSet &peptideSet) const
void setGroupNumber(unsigned int i)
GrpPeptideSet & operator=(const GrpPeptideSet &other)
bool biggerAndContainsAll(const GrpPeptideSet &peptideSet) const
bool contains(const GrpPeptide *p_grp_peptide) const
bool privContainsAll(const GrpPeptideSet &peptideSetIn) const
bool containsAll(const GrpPeptideSet &peptideSet) const
const_iterator end() const
const_iterator begin() const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...