Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

Bruker1DFile Class Reference
[NMR File Formats]

Bruker 1D spectrum format. More...

#include <bruker1DFile.h>

Inheritance diagram for Bruker1DFile:

File List of all members.

Public Member Functions

Constructors and Destructors
 Bruker1DFile ()
 Constructor.
 Bruker1DFile (const String &name, OpenMode open_mode=std::ios::in|std::ios::binary) throw (Exception::FileNotFound)
 Constructor.
 Bruker1DFile (const Bruker1DFile &file) throw (Exception::FileNotFound)
 Copy constructor.
virtual ~Bruker1DFile () throw ()
 Destructor.
Accessors
void read (const String &name)
 Read a spectrum from name.
void read ()
const RegularData1DgetData () const
 Return a pointer to the spectrum.
const JCAMPFile::EntryMapgetParameters () const
const JCAMPFile::HeaderMapgetHeader () const
const Bruker1DFileoperator= (const Bruker1DFile &file) throw ()

Protected Attributes

Size min_
Size max_
JCAMPFile pars_
 The parameters from the procs file.
RegularData1D spectrum_

Detailed Description

Bruker 1D spectrum format.

A class for handling Bruker one-dimensional NMR spectra.


Constructor & Destructor Documentation

Bruker1DFile::Bruker1DFile const String name,
OpenMode  open_mode = std::ios::in|std::ios::binary
throw (Exception::FileNotFound)
 

Constructor.

Parameters:
name important: name of the Bruker-*directory*


Member Function Documentation

const RegularData1D& Bruker1DFile::getData  )  const
 

Return a pointer to the spectrum.

void Bruker1DFile::read const String name  ) 
 

Read a spectrum from name.

It will be stored in spectrum_