35 #ifndef OPENMS_FORMAT_HANDLERS_MZDATAHANDLER_H 36 #define OPENMS_FORMAT_HANDLERS_MZDATAHANDLER_H 86 virtual void endElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname);
89 virtual void startElement(
const XMLCh *
const ,
const XMLCh *
const ,
const XMLCh *
const qname,
const xercesc::Attributes & attributes);
92 virtual void characters(
const XMLCh *
const chars,
const XMLSize_t length);
95 void writeTo(std::ostream & os);
164 inline void writeCVS_(std::ostream & os,
double value,
const String & acc,
const String & name,
UInt indent = 4)
const;
177 inline void writeCVS_(std::ostream & os,
const String & value,
const String & acc,
const String & name,
UInt indent = 4)
const;
192 inline void writeCVS_(std::ostream & os,
UInt value,
UInt map,
const String & acc,
const String & name,
UInt indent = 4);
204 void cvParam_(
const String & name,
const String & value);
Definition: MzDataHandler.h:65
A more convenient string class.
Definition: String.h:57
Class to encode and decode Base64.
Definition: Base64.h:64
const ProgressLogger & logger_
Progress logger.
Definition: MzDataHandler.h:146
void setOptions(const PeakFileOptions &options)
Sets the options.
Definition: MzDataHandler.h:98
bool skip_spectrum_
Flag that indicates whether this spectrum should be skipped (due to options)
Definition: MzDataHandler.h:143
std::vector< std::pair< String, MetaInfoDescription > > meta_id_descs_
An array of pairs MetaInfodescriptions and their ids.
Definition: MzDataHandler.h:128
The representation of a chromatogram.
Definition: MSChromatogram.h:55
std::vector< String > data_to_decode_
encoded data which is read and has to be decoded
Definition: MzDataHandler.h:130
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
boost::shared_ptr< DataProcessing > data_processing_
Definition: MzDataHandler.h:215
Base class for XML handlers.
Definition: XMLHandler.h:110
Base64 decoder_
Decoder/Encoder for Base64-data in MzData.
Definition: MzDataHandler.h:140
ptrdiff_t SignedSize
Signed Size type e.g. used as pointer difference.
Definition: Types.h:135
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
MSChromatogram ChromatogramType
Definition: MzDataHandler.h:63
PeakFileOptions options_
Options that can be set for loading/storing.
Definition: MzDataHandler.h:119
std::vector< std::vector< double > > decoded_double_list_
Definition: MzDataHandler.h:134
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
std::vector< String > precisions_
Definition: MzDataHandler.h:135
MapType * exp_
map pointer for reading
Definition: MzDataHandler.h:114
A 1-dimensional raw data point or peak.
Definition: Peak1D.h:55
MapType::PeakType PeakType
Peak type.
Definition: MzDataHandler.h:109
const MapType * cexp_
map pointer for writing
Definition: MzDataHandler.h:116
virtual ~MzDataHandler()
Destructor.
Definition: MzDataHandler.h:78
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:82
PeakMap MapType
XML handler for MzDataFile.
Definition: MzDataHandler.h:61
std::vector< String > endians_
Definition: MzDataHandler.h:136
SpectrumType spec_
The current spectrum.
Definition: MzDataHandler.h:126
std::vector< float > data_to_encode_
floating point numbers which have to be encoded and written
Definition: MzDataHandler.h:132
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:128
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:55
MSSpectrum SpectrumType
Spectrum type.
Definition: MzDataHandler.h:111
Options for loading files containing peak data.
Definition: PeakFileOptions.h:48
std::vector< std::vector< float > > decoded_list_
Definition: MzDataHandler.h:133
MSSpectrum SpectrumType
Definition: MzDataHandler.h:62