 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
37 #include <unordered_map>
73 Size getNumberOfResidues()
const;
77 Size getNumberOfModifiedResidues()
const;
83 const Residue* getResidue(
const unsigned char& one_letter_code)
const;
128 const std::set<const Residue*> getResidues(
const String& residue_set =
"All")
const;
131 const std::set<String> getResidueSets()
const;
138 bool hasResidue(
const String& name)
const;
142 bool hasResidue(
const Residue* residue)
const;
147 void initResidues_();
167 void buildResidues_();
170 void insertResidueAndAssociateWithResidueSet_(
Residue* residue,
const std::vector<String>& residue_sets);
173 void addResidue_(
Residue* residue);
176 void addResidueNames_(
const Residue*);
179 void addModifiedResidueNames_(
const Residue*);
195 std::array<const Residue*, 256> residue_by_one_letter_code_ = {{
nullptr}};
std::unordered_map< String, const Residue * > residue_names_
lookup from name to residue
Definition: ResidueDB.h:192
OpenMS stores a central database of all residues in the ResidueDB. All (unmodified) residues are adde...
Definition: ResidueDB.h:57
std::set< const Residue * > const_residues_
all (unmodified) residues
Definition: ResidueDB.h:184
std::map< String, std::set< const Residue * > > residues_by_set_
Definition: ResidueDB.h:197
Representation of a modification on an amino acid residue.
Definition: ResidueModification.h:78
A more convenient string class.
Definition: String.h:58
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
sets the modification of AA at index by providing a pointer to a
std::set< const Residue * > const_modified_residues_
all modified residues
Definition: ResidueDB.h:187
std::set< String > residue_sets_
Definition: ResidueDB.h:189
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Representation of an amino acid residue.
Definition: Residue.h:62
std::map< String, std::map< String, const Residue * > > residue_mod_names_
Definition: ResidueDB.h:181