#include <OpenMS/FORMAT/MzDataFile.h>
Public Member Functions | |
MzDataFile () | |
Default constructor. | |
~MzDataFile () | |
Destructor. | |
PeakFileOptions & | getOptions () |
Mutable access to the options for loading/storing. | |
const PeakFileOptions & | getOptions () 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_ |
MzDataFile | ( | ) |
Default constructor.
~MzDataFile | ( | ) |
Destructor.
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.
PeakFileOptions options_ [private] |
Generated Tue Apr 1 15:36:44 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |