13 #include <boost/multi_index_container.hpp>
14 #include <boost/multi_index/ordered_index.hpp>
15 #include <boost/multi_index/member.hpp>
19 namespace IdentificationDataInternal
63 OPENMS_PRETTY_FUNCTION,
64 "Trying to overwrite ParentSequence sequence '" +
sequence +
"' with conflicting value.",
75 OPENMS_PRETTY_FUNCTION,
76 "Trying to overwrite ParentSequence description '" +
description +
"' with conflicting value.",
89 typedef boost::multi_index_container<
91 boost::multi_index::indexed_by<
92 boost::multi_index::ordered_unique<boost::multi_index::member<
Invalid value exception.
Definition: Exception.h:303
A more convenient string class.
Definition: String.h:34
boost::multi_index_container< AppliedProcessingStep, boost::multi_index::indexed_by< boost::multi_index::sequenced<>, boost::multi_index::ordered_unique< boost::multi_index::member< AppliedProcessingStep, std::optional< ProcessingStepRef >, &AppliedProcessingStep::processing_step_opt > > > > AppliedProcessingSteps
Definition: AppliedProcessingStep.h:107
MoleculeType
Definition: MetaData.h:40
@ PROTEIN
Definition: MetaData.h:41
boost::multi_index_container< ParentSequence, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::member< ParentSequence, String, &ParentSequence::accession > > > > ParentSequences
Definition: ParentSequence.h:94
IteratorWrapper< ParentSequences::iterator > ParentSequenceRef
Definition: ParentSequence.h:95
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
Wrapper that adds operator< to iterators, so they can be used as (part of) keys in maps/sets or multi...
Definition: MetaData.h:20
Representation of a parent sequence that is identified only indirectly (e.g. a protein).
Definition: ParentSequence.h:24
ParentSequence & merge(const ParentSequence &other)
Definition: ParentSequence.h:53
ParentSequence(const String &accession, MoleculeType molecule_type=MoleculeType::PROTEIN, const String &sequence="", const String &description="", double coverage=0.0, bool is_decoy=false, const AppliedProcessingSteps &steps_and_scores=AppliedProcessingSteps())
Definition: ParentSequence.h:39
bool is_decoy
Definition: ParentSequence.h:37
String sequence
Definition: ParentSequence.h:31
String description
Definition: ParentSequence.h:33
double coverage
sequence coverage as a fraction between 0 and 1
Definition: ParentSequence.h:35
String accession
Definition: ParentSequence.h:25
enum MoleculeType molecule_type
Definition: ParentSequence.h:27
ParentSequence(const ParentSequence &)=default
Base class for ID data with scores and processing steps (and meta info)
Definition: ScoredProcessingResult.h:19
AppliedProcessingSteps steps_and_scores
Definition: ScoredProcessingResult.h:20
ScoredProcessingResult & merge(const ScoredProcessingResult &other)
Merge in data from another object.
Definition: ScoredProcessingResult.h:81