#include <OpenMS/KERNEL/DRawDataPoint.h>
This datastructure is intended for continous data. If you want to handle picked data use DPeak or PickedPeak1D.
Public Types | |
Type definitions | |
enum | { DIMENSION = D } |
Dimensionality. More... | |
typedef Real | IntensityType |
Intensity type. | |
typedef DoubleReal | CoordinateType |
Coordinate type (of the position). | |
typedef DPosition< D > | PositionType |
Position type. | |
Public Member Functions | |
DRawDataPoint & | operator= (const DRawDataPoint &rhs) |
Assignment operator. | |
bool | operator== (const DRawDataPoint &rhs) const |
Equality operator. | |
bool | operator!= (const DRawDataPoint &rhs) const |
Equality operator. | |
Constructors and Destructor | |
DRawDataPoint () | |
Default constructor. | |
DRawDataPoint (const DRawDataPoint &p) | |
Copy constructor. | |
~DRawDataPoint () | |
Destructor. | |
Accessors | |
IntensityType | getIntensity () const |
Non-mutable access to the data point intensity (height). | |
void | setIntensity (IntensityType intensity) |
Non-mutable access to the data point intensity (height). | |
const PositionType & | getPosition () const |
Non-mutable access to the data point position (multidimensional). | |
PositionType & | getPosition () |
Mutable access to the data point position (multidimensional). | |
void | setPosition (PositionType const &position) |
Mutable access to the data point position (multidimensional). | |
Protected Attributes | |
PositionType | position_ |
The data point position. | |
IntensityType | intensity_ |
The data point intensity. | |
Classes | |
struct | IntensityLess |
Compare by getIntensity(). More... | |
struct | NthPositionLess |
Comparator for the i-th coordinate of the position. More... | |
struct | PositionLess |
Comparator for the position. More... |
typedef Real IntensityType |
typedef DoubleReal CoordinateType |
typedef DPosition<D> PositionType |
DRawDataPoint | ( | ) | [inline] |
Default constructor.
DRawDataPoint | ( | const DRawDataPoint< D > & | p | ) | [inline] |
Copy constructor.
~DRawDataPoint | ( | ) | [inline] |
Destructor.
IntensityType getIntensity | ( | ) | const [inline] |
Non-mutable access to the data point intensity (height).
void setIntensity | ( | IntensityType | intensity | ) | [inline] |
Non-mutable access to the data point intensity (height).
const PositionType& getPosition | ( | ) | const [inline] |
Non-mutable access to the data point position (multidimensional).
PositionType& getPosition | ( | ) | [inline] |
Mutable access to the data point position (multidimensional).
void setPosition | ( | PositionType const & | position | ) | [inline] |
Mutable access to the data point position (multidimensional).
DRawDataPoint& operator= | ( | const DRawDataPoint< D > & | rhs | ) | [inline] |
Assignment operator.
bool operator== | ( | const DRawDataPoint< D > & | rhs | ) | const [inline] |
Equality operator.
bool operator!= | ( | const DRawDataPoint< D > & | rhs | ) | const [inline] |
Equality operator.
PositionType position_ [protected] |
The data point position.
IntensityType intensity_ [protected] |
The data point intensity.
Generated Tue Apr 1 15:36:45 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |