BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
FORMAT
bruker1DFile.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_FORMAT_BRUKER1DFILE_H
6
#define BALL_FORMAT_BRUKER1DFILE_H
7
8
#ifndef BALL_FORMAT_JCAMPFILE_H
9
# include <
BALL/FORMAT/JCAMPFile.h
>
10
#endif
11
12
#ifndef BALL_DATATYPE_REGULARDATA1D_H
13
# include <
BALL/DATATYPE/regularData1D.h
>
14
#endif
15
16
namespace
BALL
17
{
22
class
BALL_EXPORT
Bruker1DFile
23
:
public
File
24
{
25
public
:
26
30
33
Bruker1DFile
();
34
39
Bruker1DFile
(
const
String
& name,
OpenMode
open_mode = std::ios::in | std::ios::binary);
40
42
virtual
~
Bruker1DFile
();
43
45
48
52
void
read(
const
String
& name);
53
55
void
read();
56
59
const
RegularData1D
&
getData
()
const
{
return
spectrum_; }
60
62
const
JCAMPFile::EntryMap
&
getParameters
()
const
{
return
pars_.getEntries();}
63
65
const
JCAMPFile::HeaderMap
&
getHeader
()
const
{
return
pars_.getHeader();}
66
68
69
private
:
70
const
Bruker1DFile
& operator = (
const
Bruker1DFile
& file) ;
71
72
protected
:
73
74
Size
min_
;
75
Size
max_
;
76
78
JCAMPFile
pars_
;
79
80
RegularData1D
spectrum_
;
81
};
82
}
83
84
#endif // BALL_FORMAT_BRUKER1DFILE_H
Generated by
1.8.3.1