#include <bruker1DFile.h>
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 () |
Destructor. |
|
Accessors
|
|
void | read (const String &name) |
Read a spectrum from
name . |
|
void | read () |
const RegularData1D & | getData () const |
Return a pointer to the
spectrum. |
|
const JCAMPFile::EntryMap & | getParameters () const |
const JCAMPFile::HeaderMap & | getHeader () const |
const Bruker1DFile & | operator= (const Bruker1DFile &file) |
Protected Attributes |
|
Size | min_ |
Size | max_ |
JCAMPFile | pars_ |
The parameters from the procs
file. |
|
RegularData1D | spectrum_ |
A class for handling Bruker one-dimensional NMR spectra.
BALL::Bruker1DFile::Bruker1DFile | ( | const String & | name, | |
OpenMode | open_mode =
std::ios::in|std::ios::binary |
|||
) | throw (Exception::FileNotFound) |
Constructor.
name | important: name of the Bruker-*directory* |
void BALL::Bruker1DFile::read | ( | const String & | name | ) |
Read a spectrum from name
.
It will be stored in spectrum_