libpappsomspp
Library for mass spectrometry
Toggle main menu visibility
Loading...
Searching...
No Matches
grppeptideset.h
Go to the documentation of this file.
1
2
/*******************************************************************************
3
* Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
4
*
5
* This file is part of the PAPPSOms++ library.
6
*
7
* PAPPSOms++ is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* PAPPSOms++ is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
19
*
20
* Contributors:
21
* Olivier Langella <olivier.langella@u-psud.fr> - initial API and
22
*implementation
23
******************************************************************************/
24
#pragma once
25
26
#include <list>
27
28
#include "
grpprotein.h
"
29
30
namespace
pappso
31
{
32
33
class
GrpMapPeptideToSubGroupSet
;
34
35
class
GrpPeptideSet
36
{
37
friend
class
GrpMapPeptideToSubGroupSet
;
38
friend
class
GrpMapPeptideToGroup
;
39
40
private
:
41
std::list<GrpPeptide *>
m_peptidePtrList
;
42
43
bool
privContainsAll
(
const
GrpPeptideSet
&peptideSetIn)
const
;
44
45
public
:
46
GrpPeptideSet
();
47
GrpPeptideSet
(
const
GrpPeptideSet
&other);
48
GrpPeptideSet
(
const
GrpProtein
*p_protein);
49
~GrpPeptideSet
();
50
GrpPeptideSet
&
operator=
(
const
GrpPeptideSet
&other);
51
bool
operator==
(
const
GrpPeptideSet
&other)
const
;
52
53
unsigned
int
54
size
()
const
55
{
56
return
m_peptidePtrList
.size();
57
};
58
bool
biggerAndContainsAll
(
const
GrpPeptideSet
&peptideSet)
const
;
59
bool
contains
(
const
GrpPeptide
*p_grp_peptide)
const
;
60
bool
containsAll
(
const
GrpPeptideSet
&peptideSet)
const
;
61
bool
containsAny
(
const
GrpPeptideSet
&peptideSet)
const
;
62
void
addAll
(
const
GrpPeptideSet
&peptideSet);
63
const
QString
printInfos
()
const
;
64
65
void
numbering
();
66
void
setGroupNumber
(
unsigned
int
i);
67
68
std::vector<const GrpPeptide *>
getGrpPeptideList
()
const
;
69
};
70
}
// namespace pappso
pappso::GrpMapPeptideToSubGroupSet
Definition
grpmappeptidetosubgroupset.h:37
pappso::GrpPeptideSet
Definition
grppeptideset.h:36
pappso::GrpPeptideSet::m_peptidePtrList
std::list< GrpPeptide * > m_peptidePtrList
Definition
grppeptideset.h:41
pappso::GrpPeptideSet::size
unsigned int size() const
Definition
grppeptideset.h:54
pappso::GrpPeptideSet::printInfos
const QString printInfos() const
Definition
grppeptideset.cpp:243
pappso::GrpPeptideSet::addAll
void addAll(const GrpPeptideSet &peptideSet)
Definition
grppeptideset.cpp:163
pappso::GrpPeptideSet::getGrpPeptideList
std::vector< const GrpPeptide * > getGrpPeptideList() const
Definition
grppeptideset.cpp:232
pappso::GrpPeptideSet::numbering
void numbering()
Definition
grppeptideset.cpp:202
pappso::GrpPeptideSet::operator==
bool operator==(const GrpPeptideSet &other) const
Definition
grppeptideset.cpp:57
pappso::GrpPeptideSet::containsAny
bool containsAny(const GrpPeptideSet &peptideSet) const
Definition
grppeptideset.cpp:132
pappso::GrpPeptideSet::GrpPeptideSet
GrpPeptideSet()
Definition
grppeptideset.cpp:29
pappso::GrpPeptideSet::setGroupNumber
void setGroupNumber(unsigned int i)
Definition
grppeptideset.cpp:220
pappso::GrpPeptideSet::GrpMapPeptideToSubGroupSet
friend class GrpMapPeptideToSubGroupSet
Definition
grppeptideset.h:37
pappso::GrpPeptideSet::operator=
GrpPeptideSet & operator=(const GrpPeptideSet &other)
Definition
grppeptideset.cpp:50
pappso::GrpPeptideSet::~GrpPeptideSet
~GrpPeptideSet()
Definition
grppeptideset.cpp:45
pappso::GrpPeptideSet::biggerAndContainsAll
bool biggerAndContainsAll(const GrpPeptideSet &peptideSet) const
Definition
grppeptideset.cpp:88
pappso::GrpPeptideSet::GrpMapPeptideToGroup
friend class GrpMapPeptideToGroup
Definition
grppeptideset.h:38
pappso::GrpPeptideSet::contains
bool contains(const GrpPeptide *p_grp_peptide) const
Definition
grppeptideset.cpp:67
pappso::GrpPeptideSet::privContainsAll
bool privContainsAll(const GrpPeptideSet &peptideSetIn) const
Definition
grppeptideset.cpp:98
pappso::GrpPeptideSet::containsAll
bool containsAll(const GrpPeptideSet &peptideSet) const
Definition
grppeptideset.cpp:78
pappso::GrpPeptide
Definition
grppeptide.h:43
pappso::GrpProtein
Definition
grpprotein.h:40
grpprotein.h
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition
aa.cpp:39
pappsomspp
core
grouping
grppeptideset.h
Generated on
for libpappsomspp by
1.17.0