Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

MzDataFile Class Reference
[File IO]

#include <OpenMS/FORMAT/MzDataFile.h>

Inheritance diagram for MzDataFile:

XMLFile ProgressLogger

List of all members.


Detailed Description

File adapter for MzData files.

Public Member Functions

 MzDataFile ()
 Default constructor.
 ~MzDataFile ()
 Destructor.
PeakFileOptionsgetOptions ()
 Mutable access to the options for loading/storing.
const PeakFileOptionsgetOptions () const
 Non-mutable access to the options for loading/storing.
template<typename MapType>
void load (const String &filename, MapType &map) throw (Exception::FileNotFound, Exception::ParseError)
 Loads a map from a MzData file.
template<typename MapType>
void store (const String &filename, const MapType &map) const throw (Exception::UnableToCreateFile)
 Stores a map in a MzData file.

Private Attributes

PeakFileOptions options_

Constructor & Destructor Documentation

MzDataFile (  ) 

Default constructor.

~MzDataFile (  ) 

Destructor.


Member Function Documentation

PeakFileOptions& getOptions (  ) 

Mutable access to the options for loading/storing.

const PeakFileOptions& getOptions (  )  const

Non-mutable access to the options for loading/storing.

void load ( const String filename,
MapType &  map 
) throw (Exception::FileNotFound, Exception::ParseError) [inline]

Loads a map from a MzData file.

map has to be a MSExperiment or have the same interface.

void store ( const String filename,
const MapType &  map 
) const throw (Exception::UnableToCreateFile) [inline]

Stores a map in a MzData file.

map has to be a MSExperiment or have the same interface.


Member Data Documentation

PeakFileOptions options_ [private]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:44 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1