42 #include <boost/multi_index_container.hpp>
43 #include <boost/multi_index/ordered_index.hpp>
44 #include <boost/multi_index/composite_key.hpp>
45 #include <boost/variant.hpp>
49 namespace IdentificationDataInternal
53 typedef std::map<boost::optional<ProcessingStepRef>,
112 String msg =
"matched molecule is not a peptide";
114 OPENMS_PRETTY_FUNCTION, msg);
124 String msg =
"matched molecule is not a compound";
126 OPENMS_PRETTY_FUNCTION, msg);
136 String msg =
"matched molecule is not an oligonucleotide";
138 OPENMS_PRETTY_FUNCTION, msg);
152 typedef boost::multi_index_container<
154 boost::multi_index::indexed_by<
155 boost::multi_index::ordered_unique<
156 boost::multi_index::composite_key<
158 boost::multi_index::member<MoleculeQueryMatch,
DataQueryRef,
160 boost::multi_index::member<
A method or algorithm argument contains illegal values.
Definition: Exception.h:656
A more convenient string class.
Definition: String.h:61
int Int
Signed integer type.
Definition: Types.h:102
std::map< boost::optional< ProcessingStepRef >, PeakAnnotations > PeakAnnotationSteps
Definition: MoleculeQueryMatch.h:54
IteratorWrapper< IdentifiedCompounds::iterator > IdentifiedCompoundRef
Definition: IdentifiedCompound.h:80
boost::variant< IdentifiedPeptideRef, IdentifiedCompoundRef, IdentifiedOligoRef > IdentifiedMoleculeRef
Definition: MoleculeQueryMatch.h:57
IteratorWrapper< IdentifiedPeptides::iterator > IdentifiedPeptideRef
Definition: IdentifiedSequence.h:116
boost::multi_index_container< MoleculeQueryMatch, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::composite_key< MoleculeQueryMatch, boost::multi_index::member< MoleculeQueryMatch, DataQueryRef, &MoleculeQueryMatch::data_query_ref >, boost::multi_index::member< MoleculeQueryMatch, IdentifiedMoleculeRef, &MoleculeQueryMatch::identified_molecule_ref > > > > > MoleculeQueryMatches
Definition: MoleculeQueryMatch.h:163
std::vector< PeptideHit::PeakAnnotation > PeakAnnotations
Definition: MoleculeQueryMatch.h:52
MoleculeType
Definition: MetaData.h:64
@ SIZE_OF_MOLECULETYPE
Definition: MetaData.h:68
@ COMPOUND
Definition: MetaData.h:66
@ PROTEIN
Definition: MetaData.h:65
@ RNA
Definition: MetaData.h:67
IteratorWrapper< MoleculeQueryMatches::iterator > QueryMatchRef
Definition: MoleculeQueryMatch.h:164
IteratorWrapper< DataQueries::iterator > DataQueryRef
Definition: DataQuery.h:90
boost::multi_index_container< AppliedProcessingStep, boost::multi_index::indexed_by< boost::multi_index::sequenced<>, boost::multi_index::ordered_unique< boost::multi_index::member< AppliedProcessingStep, boost::optional< ProcessingStepRef >, &AppliedProcessingStep::processing_step_opt > > > > AppliedProcessingSteps
Definition: AppliedProcessingStep.h:116
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Wrapper that adds operator< to iterators, so they can be used as (part of) keys in maps/sets or multi...
Definition: MetaData.h:44
Meta data for a search hit (e.g. peptide-spectrum match).
Definition: MoleculeQueryMatch.h:62
IdentifiedOligoRef getIdentifiedOligoRef() const
Definition: MoleculeQueryMatch.h:129
IdentifiedPeptideRef getIdentifiedPeptideRef() const
Definition: MoleculeQueryMatch.h:105
MoleculeType getMoleculeType() const
Definition: MoleculeQueryMatch.h:88
DataQueryRef data_query_ref
Definition: MoleculeQueryMatch.h:65
MoleculeQueryMatch(IdentifiedMoleculeRef identified_molecule_ref, DataQueryRef data_query_ref, Int m_charge=0, const AppliedProcessingSteps &steps_and_scores=AppliedProcessingSteps(), const PeakAnnotationSteps &peak_annotations=PeakAnnotationSteps())
Definition: MoleculeQueryMatch.h:73
IdentifiedMoleculeRef identified_molecule_ref
Definition: MoleculeQueryMatch.h:63
IdentifiedCompoundRef getIdentifiedCompoundRef() const
Definition: MoleculeQueryMatch.h:117
Int charge
Definition: MoleculeQueryMatch.h:67
MoleculeQueryMatch & operator+=(const MoleculeQueryMatch &other)
Definition: MoleculeQueryMatch.h:141
MoleculeQueryMatch(const MoleculeQueryMatch &)=default
PeakAnnotationSteps peak_annotations
Definition: MoleculeQueryMatch.h:71
Base class for ID data with scores and processing steps (and meta info)
Definition: ScoredProcessingResult.h:45
ScoredProcessingResult & operator+=(const ScoredProcessingResult &other)
Merge in data from another object.
Definition: ScoredProcessingResult.h:107
AppliedProcessingSteps steps_and_scores
Definition: ScoredProcessingResult.h:46