|
OpenMS
2.5.0
|
Go to the documentation of this file.
78 void endElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname)
override;
81 void startElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname,
const xercesc::Attributes & attributes)
override;
84 void characters(
const XMLCh *
const chars,
const XMLSize_t length)
override;
87 void writeTo(std::ostream & os)
override;
138 void handleCVParam_(
const String & parent_parent_tag,
const String & parent_tag,
const CVTerm & cv_term);
141 void handleUserParam_(
const String & parent_parent_tag,
const String & parent_tag,
const String & name,
const String & type,
const String & value);
146 void writeUserParams_(std::ostream & os,
const std::vector<MetaInfoInterface> & meta,
UInt indent)
const;
148 template <
typename CVTList>
151 for (
Map<
String, std::vector<CVTerm> >::const_iterator it = cv_terms.getCVTerms().begin();
152 it != cv_terms.getCVTerms().end(); ++it)
154 for (std::vector<CVTerm>::const_iterator cit = it->second.begin(); cit != it->second.end(); ++cit)
156 os <<
String(2 * indent,
' ') <<
"<cvParam cvRef=\"" << cit->getCVIdentifierRef() <<
"\" accession=\"" << cit->getAccession() <<
"\" name=\"" << cit->getName() <<
"\"";
157 if (cit->hasValue() && !cit->getValue().isEmpty() && !cit->getValue().toString().empty())
159 os <<
" value=\"" << cit->getValue().toString() <<
"\"";
164 os <<
" unitCvRef=\"" << cit->getUnit().cv_ref <<
"\" unitAccession=\"" << cit->getUnit().accession <<
"\" unitName=\"" << cit->getUnit().name <<
"\"";
172 void writeTarget_(std::ostream & os,
const std::vector<IncludeExcludeTarget>::const_iterator & it)
const;
176 void writeProduct_(std::ostream & os,
const std::vector<ReactionMonitoringTransition::Product>::const_iterator & prod_it)
const;
178 void writeConfiguration_(std::ostream & os,
const std::vector<ReactionMonitoringTransition::Configuration>::const_iterator & cit)
const;
Description of the software used for processing.
Definition: Software.h:48
Definition: TargetedExperimentHelper.h:478
TargetedExperiment * exp_
Definition: TraMLHandler.h:99
Software actual_software_
Definition: TraMLHandler.h:111
Representation of a controlled vocabulary.
Definition: ControlledVocabulary.h:54
Base class for XML handlers.
Definition: XMLHandler.h:151
Represents a peptide (amino acid sequence)
Definition: TargetedExperimentHelper.h:370
const TargetedExperiment * cexp_
Definition: TraMLHandler.h:101
TargetedExperiment::Peptide actual_peptide_
Definition: TraMLHandler.h:117
TargetedExperiment::Contact actual_contact_
Definition: TraMLHandler.h:105
A more convenient string class.
Definition: String.h:58
std::vector< ReactionMonitoringTransition::Product > ProductListType
Definition: TraMLHandler.h:61
CVTermList actual_validation_
Definition: TraMLHandler.h:125
This class stores a SRM/MRM transition.
Definition: IncludeExcludeTarget.h:52
ReactionMonitoringTransition::Configuration actual_configuration_
Definition: TraMLHandler.h:133
std::vector< ReactionMonitoringTransition::Configuration > ConfigurationListType
Definition: TraMLHandler.h:62
ReactionMonitoringTransition::Product actual_product_
Definition: TraMLHandler.h:131
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
TargetedExperiment::Prediction actual_prediction_
Definition: TraMLHandler.h:109
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
SourceFile actual_sourcefile_
Definition: TraMLHandler.h:135
TargetedExperiment::Publication actual_publication_
Definition: TraMLHandler.h:103
const ProgressLogger & logger_
Progress logger.
Definition: TraMLHandler.h:92
std::vector< ReactionMonitoringTransition::Product > actual_intermediate_products_
Definition: TraMLHandler.h:129
This class stores a SRM/MRM transition.
Definition: ReactionMonitoringTransition.h:56
Definition: TargetedExperimentHelper.h:98
Definition: TargetedExperimentHelper.h:495
TargetedExperiment::Interpretation actual_interpretation_
Definition: TraMLHandler.h:127
void writeCVParams_(std::ostream &os, const CVTList &cv_terms, UInt indent) const
Definition: TraMLHandler.h:149
Represents a product ion.
Definition: TargetedExperimentHelper.h:588
Represents a compound (small molecule)
Definition: TargetedExperimentHelper.h:333
ControlledVocabulary cv_
Controlled vocabulary (psi-ms from OpenMS/share/OpenMS/CV/psi-ms.obo)
Definition: TraMLHandler.h:95
String tag_
Definition: TraMLHandler.h:97
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
TargetedExperiment::Protein actual_protein_
Definition: TraMLHandler.h:113
Representation of controlled vocabulary term list.
Definition: CVTermList.h:52
Representation of a CV term.
Definition: ControlledVocabulary.h:60
Representation of controlled vocabulary term.
Definition: CVTerm.h:52
Definition: TargetedExperimentHelper.h:64
TargetedExperiment::Compound actual_compound_
Definition: TraMLHandler.h:119
XML handler for TraMLFile.
Definition: TraMLHandler.h:56
This class stores a retention time structure that is used in TargetedExperiment (representing a TraML...
Definition: TargetedExperimentHelper.h:127
Description of a file location, used to store the origin of (meta) data.
Definition: SourceFile.h:46
ReactionMonitoringTransition actual_transition_
Definition: TraMLHandler.h:121
Definition: TargetedExperimentHelper.h:461
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:50
A description of a targeted experiment containing precursor and production ions.
Definition: TargetedExperiment.h:64
TargetedExperiment::Instrument actual_instrument_
Definition: TraMLHandler.h:107
IncludeExcludeTarget actual_target_
Definition: TraMLHandler.h:123
Product ion interpretation.
Definition: TargetedExperimentHelper.h:520
TargetedExperiment::RetentionTime actual_rt_
Definition: TraMLHandler.h:115