| 
    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   | |
| void | remove (GrpSubGroup *p_remove_sub_group) | 
| removes in the map all references of the group to remove (p_remove_sub_group)   | |
| void | add (GrpSubGroup *p_add_sub_group) | 
| add in the map all peptides of the subgroup to add   | |
| bool | hasSpecificPeptide (const GrpSubGroup *get) const | 
| tells if this subgroup contains a specific peptide   | |
| void | check (std::list< GrpSubGroupSp > &m_grpSubGroupSpList) const | 
| check function only usefull for testing purpose   | |
| 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 35 of file grpmappeptidetosubgroupset.cpp.
Referenced by GrpMapPeptideToSubGroupSet(), and check().
| pappso::GrpMapPeptideToSubGroupSet::GrpMapPeptideToSubGroupSet | ( | const GrpMapPeptideToSubGroupSet & | other | ) | 
Definition at line 43 of file grpmappeptidetosubgroupset.cpp.
References GrpMapPeptideToSubGroupSet(), and m_mapPeptideToSubGroupSet.
| pappso::GrpMapPeptideToSubGroupSet::~GrpMapPeptideToSubGroupSet | ( | ) | 
Definition at line 39 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 143 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroup::getPeptideSet(), m_mapPeptideToSubGroupSet, and pappso::GrpPeptideSet::m_peptidePtrList.
| void pappso::GrpMapPeptideToSubGroupSet::check | ( | std::list< GrpSubGroupSp > & | m_grpSubGroupSpList | ) | const | 
check function only usefull for testing purpose
Definition at line 78 of file grpmappeptidetosubgroupset.cpp.
References GrpMapPeptideToSubGroupSet(), 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 55 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroupSet::addAll(), m_mapPeptideToSubGroupSet, and pappso::GrpPeptideSet::m_peptidePtrList.
| bool pappso::GrpMapPeptideToSubGroupSet::hasSpecificPeptide | ( | const GrpSubGroup * | get | ) | const | 
tells if this subgroup contains a specific peptide
Definition at line 171 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroup::getFirstAccession(), pappso::GrpSubGroup::getPeptideSet(), m_mapPeptideToSubGroupSet, and pappso::GrpPeptideSet::m_peptidePtrList.
| const QString pappso::GrpMapPeptideToSubGroupSet::printInfos | ( | ) | const | 
Definition at line 210 of file grpmappeptidetosubgroupset.cpp.
References m_mapPeptideToSubGroupSet.
| 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 103 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroup::getFirstAccession(), pappso::GrpSubGroup::getPeptideSet(), m_mapPeptideToSubGroupSet, and pappso::GrpPeptideSet::m_peptidePtrList.
Referenced by check().
| unsigned int pappso::GrpMapPeptideToSubGroupSet::size | ( | ) | const | 
Referenced by check().
      
  | 
  private | 
Definition at line 39 of file grpmappeptidetosubgroupset.h.
Referenced by GrpMapPeptideToSubGroupSet(), add(), check(), getSubGroupSet(), hasSpecificPeptide(), printInfos(), and remove().