|
libpappsomspp
Library for mass spectrometry
|
#include <grpmappeptidetosubgroupset.h>
Public Member Functions | |
| GrpMapPeptideToSubGroupSet () | |
| GrpMapPeptideToSubGroupSet (const GrpMapPeptideToSubGroupSet &other) | |
| ~GrpMapPeptideToSubGroupSet () | |
| void | getSubGroupSet (const GrpPeptideSet &peptide_set_in, GrpSubGroupSet &impacted_subgroup_set) const |
| get all subgroups concerned by a list of peptides More... | |
| void | remove (GrpSubGroup *p_remove_sub_group) |
| removes in the map all references of the group to remove (p_remove_sub_group) More... | |
| void | add (GrpSubGroup *p_add_sub_group) |
| add in the map all peptides of the subgroup to add More... | |
| bool | hasSpecificPeptide (const GrpSubGroup *get) const |
| tells if this subgroup contains a specific peptide More... | |
| void | check (std::list< GrpSubGroupSp > &m_grpSubGroupSpList) const |
| check function only usefull for testing purpose More... | |
| unsigned int | size () const |
| const QString | printInfos () const |
Private Attributes | |
| std::map< GrpPeptide *, GrpSubGroupSet > | m_mapPeptideToSubGroupSet |
Definition at line 36 of file grpmappeptidetosubgroupset.h.
| pappso::GrpMapPeptideToSubGroupSet::GrpMapPeptideToSubGroupSet | ( | ) |
Definition at line 33 of file grpmappeptidetosubgroupset.cpp.
| pappso::GrpMapPeptideToSubGroupSet::GrpMapPeptideToSubGroupSet | ( | const GrpMapPeptideToSubGroupSet & | other | ) |
Definition at line 41 of file grpmappeptidetosubgroupset.cpp.
| pappso::GrpMapPeptideToSubGroupSet::~GrpMapPeptideToSubGroupSet | ( | ) |
Definition at line 37 of file grpmappeptidetosubgroupset.cpp.
| void pappso::GrpMapPeptideToSubGroupSet::add | ( | GrpSubGroup * | p_add_sub_group | ) |
add in the map all peptides of the subgroup to add
Definition at line 141 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroup::getPeptideSet(), m_mapPeptideToSubGroupSet, and pappso::GrpPeptideSet::m_peptidePtrList.
Referenced by pappso::GrpGroup::GrpGroup(), and pappso::GrpGroup::addSubGroupSp().
| void pappso::GrpMapPeptideToSubGroupSet::check | ( | std::list< GrpSubGroupSp > & | m_grpSubGroupSpList | ) | const |
check function only usefull for testing purpose
Definition at line 76 of file grpmappeptidetosubgroupset.cpp.
References m_mapPeptideToSubGroupSet, remove(), and size().
| void pappso::GrpMapPeptideToSubGroupSet::getSubGroupSet | ( | const GrpPeptideSet & | peptide_set_in, |
| GrpSubGroupSet & | impacted_subgroup_set | ||
| ) | const |
get all subgroups concerned by a list of peptides
Definition at line 53 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroupSet::addAll(), m_mapPeptideToSubGroupSet, and pappso::GrpPeptideSet::m_peptidePtrList.
Referenced by pappso::GrpGroup::addSubGroupSp(), and pappso::GrpGroup::check().
| bool pappso::GrpMapPeptideToSubGroupSet::hasSpecificPeptide | ( | const GrpSubGroup * | get | ) | const |
tells if this subgroup contains a specific peptide
Definition at line 169 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroup::getFirstAccession(), pappso::GrpSubGroup::getPeptideSet(), m_mapPeptideToSubGroupSet, and pappso::GrpPeptideSet::m_peptidePtrList.
Referenced by pappso::GrpGroup::removeFirstNonInformativeSubGroup().
| const QString pappso::GrpMapPeptideToSubGroupSet::printInfos | ( | ) | const |
Definition at line 208 of file grpmappeptidetosubgroupset.cpp.
References m_mapPeptideToSubGroupSet.
Referenced by pappso::GrpGroup::check().
| void pappso::GrpMapPeptideToSubGroupSet::remove | ( | GrpSubGroup * | p_remove_sub_group | ) |
removes in the map all references of the group to remove (p_remove_sub_group)
Definition at line 101 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroup::getFirstAccession(), pappso::GrpSubGroup::getPeptideSet(), m_mapPeptideToSubGroupSet, and pappso::GrpPeptideSet::m_peptidePtrList.
Referenced by pappso::GrpGroup::addSubGroupSp(), check(), and pappso::GrpGroup::removeFirstNonInformativeSubGroup().
| unsigned int pappso::GrpMapPeptideToSubGroupSet::size | ( | ) | const |
Referenced by check().
|
private |
Definition at line 39 of file grpmappeptidetosubgroupset.h.
Referenced by add(), check(), getSubGroupSet(), hasSpecificPeptide(), printInfos(), and remove().