OpenMS  2.4.0
Classes | Public Types | List of all members
SqMassFile Class Reference

An class that uses on-disk SQLite database to read and write spectra and chromatograms. More...

#include <OpenMS/FORMAT/SqMassFile.h>

Classes

struct  SqMassConfig
 Configuration class for SqMassFile. More...
 

Public Types

typedef MSExperiment MapType
 

Public Member Functions

Constructors and Destructor
 SqMassFile ()
 Default constructor. More...
 
 ~SqMassFile ()
 Default destructor. More...
 

Read / Write a complete mass spectrometric experiment

SqMassConfig config_
 
void load (const String &filename, MapType &map)
 
void store (const String &filename, MapType &map)
 
void transform (const String &filename_in, Interfaces::IMSDataConsumer *consumer, bool skip_full_count=false, bool skip_first_pass=false)
 
void setConfig (SqMassConfig config)
 

Detailed Description

An class that uses on-disk SQLite database to read and write spectra and chromatograms.

This class provides functions to read and write spectra and chromatograms to disk using a SQLite database and store them in sqMass format. This allows users to access, select and filter spectra and chromatograms on-demand even in a large collection of data.

Member Typedef Documentation

◆ MapType

Constructor & Destructor Documentation

◆ SqMassFile()

Default constructor.

◆ ~SqMassFile()

~SqMassFile ( )

Default destructor.

Member Function Documentation

◆ load()

void load ( const String filename,
MapType map 
)

◆ setConfig()

void setConfig ( SqMassConfig  config)
inline

◆ store()

void store ( const String filename,
MapType map 
)

◆ transform()

void transform ( const String filename_in,
Interfaces::IMSDataConsumer consumer,
bool  skip_full_count = false,
bool  skip_first_pass = false 
)

Member Data Documentation

◆ config_

SqMassConfig config_
protected