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 57 of file grpmappeptidetosubgroupset.h.
pappso::GrpMapPeptideToSubGroupSet::GrpMapPeptideToSubGroupSet | ( | ) |
Definition at line 54 of file grpmappeptidetosubgroupset.cpp.
pappso::GrpMapPeptideToSubGroupSet::GrpMapPeptideToSubGroupSet | ( | const GrpMapPeptideToSubGroupSet & | other | ) |
Definition at line 62 of file grpmappeptidetosubgroupset.cpp.
References pappso::GrpSubGroupSet::addAll(), and m_mapPeptideToSubGroupSet.
pappso::GrpMapPeptideToSubGroupSet::~GrpMapPeptideToSubGroupSet | ( | ) |
Definition at line 58 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 162 of file grpmappeptidetosubgroupset.cpp.
Referenced by pappso::GrpGroup::addSubGroupSp(), and pappso::GrpGroup::GrpGroup().
void pappso::GrpMapPeptideToSubGroupSet::check | ( | std::list< GrpSubGroupSp > & | m_grpSubGroupSpList | ) | const |
check function only usefull for testing purpose
Definition at line 97 of file grpmappeptidetosubgroupset.cpp.
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 74 of file grpmappeptidetosubgroupset.cpp.
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 190 of file grpmappeptidetosubgroupset.cpp.
Referenced by pappso::GrpGroup::removeFirstNonInformativeSubGroup().
const QString pappso::GrpMapPeptideToSubGroupSet::printInfos | ( | ) | const |
Definition at line 229 of file grpmappeptidetosubgroupset.cpp.
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 122 of file grpmappeptidetosubgroupset.cpp.
References m_mapPeptideToSubGroupSet.
Referenced by pappso::GrpGroup::addSubGroupSp(), and pappso::GrpGroup::removeFirstNonInformativeSubGroup().
unsigned int pappso::GrpMapPeptideToSubGroupSet::size | ( | ) | const |
|
private |
Definition at line 81 of file grpmappeptidetosubgroupset.h.
Referenced by GrpMapPeptideToSubGroupSet(), and remove().