CycloBranch
cMzML Class Reference

mzML parser. More...

#include <cMzML.h>

Public Member Functions

 cMzML ()
 The constructor.
 
 ~cMzML ()
 The destructor.
 
int parse (string &filename, vector< cPeaksList > &peaklists, int profilespectrumid, eModeType mode, cMainThread *os, bool &terminatecomputation)
 Parse a mzml file. More...
 
bool hasProfileSpectra ()
 Check if the file contains profile spectra. More...
 

Detailed Description

mzML parser.

Member Function Documentation

◆ hasProfileSpectra()

bool cMzML::hasProfileSpectra ( )

Check if the file contains profile spectra.

Return values
booltrue if the file contains profile spectra

◆ parse()

int cMzML::parse ( string &  filename,
vector< cPeaksList > &  peaklists,
int  profilespectrumid,
eModeType  mode,
cMainThread os,
bool &  terminatecomputation 
)

Parse a mzml file.

Parameters
filenamemzml filename
peaklistsmzml filename
profilespectrumidid of a profile spectrum to be extracted, -1 = extract all profile spectra
modeprogram mode
ospointer to the main thread of the application (output stream)
terminatecomputationreference to a variable determining that the computation must be stopped
Return values
0= success; -1 = aborted by user

The documentation for this class was generated from the following files: