39 #include <boost/multi_index_container.hpp>
40 #include <boost/multi_index/ordered_index.hpp>
41 #include <boost/multi_index/member.hpp>
45 namespace IdentificationDataInternal
89 OPENMS_PRETTY_FUNCTION,
90 "Trying to overwrite ParentSequence sequence '" +
sequence +
"' with conflicting value.",
101 OPENMS_PRETTY_FUNCTION,
102 "Trying to overwrite ParentSequence description '" +
description +
"' with conflicting value.",
115 typedef boost::multi_index_container<
117 boost::multi_index::indexed_by<
118 boost::multi_index::ordered_unique<boost::multi_index::member<
Invalid value exception.
Definition: Exception.h:329
A more convenient string class.
Definition: String.h:60
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:133
MoleculeType
Definition: MetaData.h:66
@ PROTEIN
Definition: MetaData.h:67
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:120
IteratorWrapper< ParentSequences::iterator > ParentSequenceRef
Definition: ParentSequence.h:121
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:46
Representation of a parent sequence that is identified only indirectly (e.g. a protein).
Definition: ParentSequence.h:50
ParentSequence & merge(const ParentSequence &other)
Definition: ParentSequence.h:79
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:65
bool is_decoy
Definition: ParentSequence.h:63
String sequence
Definition: ParentSequence.h:57
String description
Definition: ParentSequence.h:59
double coverage
sequence coverage as a fraction between 0 and 1
Definition: ParentSequence.h:61
String accession
Definition: ParentSequence.h:51
enum MoleculeType molecule_type
Definition: ParentSequence.h:53
ParentSequence(const ParentSequence &)=default
Base class for ID data with scores and processing steps (and meta info)
Definition: ScoredProcessingResult.h:45
AppliedProcessingSteps steps_and_scores
Definition: ScoredProcessingResult.h:46
ScoredProcessingResult & merge(const ScoredProcessingResult &other)
Merge in data from another object.
Definition: ScoredProcessingResult.h:107