24#ifndef _SPECTRUMBINARYDATA_HPP_
25#define _SPECTRUMBINARYDATA_HPP_
49 Config(
const std::string& args =
"");
51 bool operator == (
const Config &rhs)
const
53 return begin==rhs.
begin &&
80 static const char*
id() {
return "binary";}
81#define BINARY_INDEX_ARG "index"
82#define BINARY_SCAN_ARG "sn"
83#define BINARY_PRECISION_ARG "precision"
86 static const char*
description() {
return "write binary data for selected spectra";}
90 std::vector<std::string> result;
91 result.push_back(
BINARY_INDEX_ARG": write data for spectra in this index range");
92 result.push_back(
BINARY_SCAN_ARG": write data for spectra in this scan number range");
#define BINARY_PRECISION_ARG
Interface for MSData analyzers.
simple memory cache for common MSData info
writes table of spectrum metadata to a file
virtual UpdateRequest updateRequested(const DataInfo &dataInfo, const SpectrumIdentity &spectrumIdentity) const
ask analyzer if it wants an update
const MSDataCache & cache_
virtual void update(const DataInfo &dataInfo, const Spectrum &spectrum)
analyze a single spectrum
SpectrumBinaryData(const MSDataCache &cache, const Config &config)
information about the data to be analyzed
Config(const std::string &args="")
bool interpretAsScanNumbers
static const char * description()
static std::vector< std::string > argsUsage()
static const char * argsFormat()
This auxilliary class should be specialized for MSDataAnalyzers whose instantiation is controlled by ...
The structure that captures the generation of a peak list (including the underlying acquisitions)
Identifying information for a spectrum.