CycloBranch
|
The class representing a series of peaklists. More...
#include <cPeakListSeries.h>
Public Member Functions | |
cPeakListSeries () | |
The constructor. | |
cPeakListSeries (const cPeakListSeries &peaklistseries) | |
The copy constructor. More... | |
cPeakListSeries & | operator= (const cPeakListSeries &peaklistseries) |
Overloaded operator=. More... | |
cPeaksList & | operator[] (int position) |
Overloaded operator []. More... | |
void | clear () |
Clear the peaklist series. | |
void | resize (int size) |
Resize the peaklist series. More... | |
void | addPeakList (cPeaksList &peaklist) |
Add a peaklist. More... | |
void | loadFromPlainTextStream (ifstream &stream) |
Load the series of peaklists from a plain text stream. More... | |
void | loadFromBAFStream (ifstream &stream) |
Load the series of peaklists from a .csv file converted from a .baf file by CompassXport. More... | |
int | loadFromProfileApexStream (string &filename, ifstream &stream, ifstream &titlestream, double fwhm, cMainThread *os, bool &terminatecomputation) |
Load the series of peaklists from a .csv file converted from apex data by CompassXport. More... | |
int | loadFromMZMLStream (string &mzmlfilename, ifstream &mzmlstream, double fwhm, eModeType mode, cMainThread *os, bool &terminatecomputation) |
Load the series of peaklists from .mzML file. More... | |
int | loadFromIMZMLStream (string &imzmlfilename, ifstream &ibdstream, double fwhm, int &defaultmaxx, int &defaultmaxy, int &defaultpixelsizex, int &defaultpixelsizey, eVendorType &vendor, cMainThread *os, bool &terminatecomputation) |
Load the series of peaklists from .imzML file. More... | |
void | loadSpotList (ifstream &stream) |
Load a spot list from a stream. More... | |
void | loadFromMGFStream (ifstream &stream, int timeunit) |
Load the series of peaklists from a .mgf file. More... | |
int | size () |
The number of peaklists in the series. More... | |
void | store (ofstream &os) |
Store the structure into an output stream. More... | |
void | load (ifstream &is, int fileversionpart1, int fileversionpart2, int fileversionpart3) |
Load the structure from an input stream. More... | |
The class representing a series of peaklists.
cPeakListSeries::cPeakListSeries | ( | const cPeakListSeries & | peaklistseries | ) |
The copy constructor.
peaklistseries | reference to a cPeakListSeries |
void cPeakListSeries::addPeakList | ( | cPeaksList & | peaklist | ) |
Add a peaklist.
peaklist | peaklist which will be added |
void cPeakListSeries::load | ( | ifstream & | is, |
int | fileversionpart1, | ||
int | fileversionpart2, | ||
int | fileversionpart3 | ||
) |
Load the structure from an input stream.
is | an input stream |
fileversionpart1 | first number of .res the file version |
fileversionpart2 | second number of .res the file version |
fileversionpart3 | third number of .res the file version |
void cPeakListSeries::loadFromBAFStream | ( | ifstream & | stream | ) |
Load the series of peaklists from a .csv file converted from a .baf file by CompassXport.
stream | source stream |
int cPeakListSeries::loadFromIMZMLStream | ( | string & | imzmlfilename, |
ifstream & | ibdstream, | ||
double | fwhm, | ||
int & | defaultmaxx, | ||
int & | defaultmaxy, | ||
int & | defaultpixelsizex, | ||
int & | defaultpixelsizey, | ||
eVendorType & | vendor, | ||
cMainThread * | os, | ||
bool & | terminatecomputation | ||
) |
Load the series of peaklists from .imzML file.
imzmlfilename | imzML filename |
ibdstream | ibd binary file stream |
fwhm | FWHM |
defaultmaxx | max count of pixel x - parsed from imzML file |
defaultmaxy | max count of pixel y - parsed from imzML file |
defaultpixelsizex | pixel size x - parsed from imzML file |
defaultpixelsizey | pixel size y - parsed from imzML file |
vendor | vendor type |
os | pointer to the main thread of the application (output stream) |
terminatecomputation | reference to a variable determining that the computation must be stopped |
int | 0 = success; -1 = aborted by user, -2 = error |
void cPeakListSeries::loadFromMGFStream | ( | ifstream & | stream, |
int | timeunit | ||
) |
Load the series of peaklists from a .mgf file.
stream | source stream |
timeunit | rt unit |
int cPeakListSeries::loadFromMZMLStream | ( | string & | mzmlfilename, |
ifstream & | mzmlstream, | ||
double | fwhm, | ||
eModeType | mode, | ||
cMainThread * | os, | ||
bool & | terminatecomputation | ||
) |
Load the series of peaklists from .mzML file.
mzmlfilename | mzML filename |
mzmlstream | mzML file stream |
fwhm | FWHM |
mode | program mode |
os | pointer to the main thread of the application (output stream) |
terminatecomputation | reference to a variable determining that the computation must be stopped |
int | 0 = success; -1 = aborted by user, -2 = error |
void cPeakListSeries::loadFromPlainTextStream | ( | ifstream & | stream | ) |
Load the series of peaklists from a plain text stream.
stream | source stream |
int cPeakListSeries::loadFromProfileApexStream | ( | string & | filename, |
ifstream & | stream, | ||
ifstream & | titlestream, | ||
double | fwhm, | ||
cMainThread * | os, | ||
bool & | terminatecomputation | ||
) |
Load the series of peaklists from a .csv file converted from apex data by CompassXport.
filename | filename |
stream | source stream |
titlestream | title stream |
fwhm | FWHM |
os | pointer to the main thread of the application (output stream) |
terminatecomputation | reference to a variable determining that the computation must be stopped |
int | 0 = success; -1 = aborted by user, -2 = error |
void cPeakListSeries::loadSpotList | ( | ifstream & | stream | ) |
Load a spot list from a stream.
stream | source stream |
cPeakListSeries & cPeakListSeries::operator= | ( | const cPeakListSeries & | peaklistseries | ) |
Overloaded operator=.
peaklistseries | reference to a cPeakListSeries |
cPeaksList & cPeakListSeries::operator[] | ( | int | position | ) |
Overloaded operator [].
position | position of a peaklist |
cPeaksList | reference to a peaklist |
void cPeakListSeries::resize | ( | int | size | ) |
Resize the peaklist series.
size | new size |
int cPeakListSeries::size | ( | ) |
The number of peaklists in the series.
int | number of peaklists in the series |
void cPeakListSeries::store | ( | ofstream & | os | ) |
Store the structure into an output stream.
os | an output stream |