A 1-dimensional raw data point or peak with meta information. More...
#include <OpenMS/KERNEL/RichPeak1D.h>
Public Member Functions | |
RichPeak1D () | |
Default constructor. More... | |
RichPeak1D (const RichPeak1D &p) | |
Copy constructor. More... | |
~RichPeak1D () | |
Destructor. More... | |
RichPeak1D & | operator= (const RichPeak1D &rhs) |
Assignment operator. More... | |
bool | operator== (const RichPeak1D &rhs) const |
Equality operator. More... | |
bool | operator!= (const RichPeak1D &rhs) const |
Equality operator. More... | |
![]() | |
Peak1D & | operator= (const Peak1D &rhs) |
Assignment operator. More... | |
bool | operator== (const Peak1D &rhs) const |
Equality operator. More... | |
bool | operator!= (const Peak1D &rhs) const |
Equality operator. More... | |
Peak1D () | |
Peak1D (PositionType a, IntensityType b) | |
construct with position and intensity More... | |
Peak1D (const Peak1D &p) | |
Copy constructor. More... | |
~Peak1D () | |
Destructor. More... | |
IntensityType | getIntensity () const |
void | setIntensity (IntensityType intensity) |
Mutable access to the data point intensity (height) More... | |
CoordinateType | getMZ () const |
Non-mutable access to m/z. More... | |
void | setMZ (CoordinateType mz) |
Mutable access to m/z. More... | |
CoordinateType | getPos () const |
Alias for getMZ() More... | |
void | setPos (CoordinateType pos) |
Alias for setMZ() More... | |
PositionType const & | getPosition () const |
Non-mutable access to the position. More... | |
PositionType & | getPosition () |
Mutable access to the position. More... | |
void | setPosition (PositionType const &position) |
Mutable access to the position. More... | |
![]() | |
MetaInfoInterface () | |
constructor More... | |
MetaInfoInterface (const MetaInfoInterface &rhs) | |
copy constructor More... | |
~MetaInfoInterface () | |
destructor More... | |
MetaInfoInterface & | operator= (const MetaInfoInterface &rhs) |
assignment operator More... | |
bool | operator== (const MetaInfoInterface &rhs) const |
Equality operator. More... | |
bool | operator!= (const MetaInfoInterface &rhs) const |
Equality operator. More... | |
const DataValue & | getMetaValue (const String &name) const |
returns the value corresponding to a string More... | |
const DataValue & | getMetaValue (UInt index) const |
returns the value corresponding to an index More... | |
bool | metaValueExists (const String &name) const |
returns if this MetaInfo is set More... | |
bool | metaValueExists (UInt index) const |
returns if this MetaInfo is set More... | |
void | setMetaValue (const String &name, const DataValue &value) |
sets the DataValue corresponding to a name More... | |
void | setMetaValue (UInt index, const DataValue &value) |
sets the DataValue corresponding to an index More... | |
void | removeMetaValue (const String &name) |
Removes the DataValue corresponding to name if it exists. More... | |
void | removeMetaValue (UInt index) |
Removes the DataValue corresponding to index if it exists. More... | |
void | getKeys (std::vector< String > &keys) const |
fills the given vector with a list of all keys for which a value is set More... | |
void | getKeys (std::vector< UInt > &keys) const |
fills the given vector with a list of all keys for which a value is set More... | |
bool | isMetaEmpty () const |
returns if the MetaInfo is empty More... | |
void | clearMetaInfo () |
removes all meta values More... | |
Additional Inherited Members | |
![]() | |
enum | { DIMENSION = 1 } |
typedef float | IntensityType |
Intensity type. More... | |
typedef DPosition< 1 > | PositionType |
Position type. More... | |
typedef double | CoordinateType |
Coordinate type. More... | |
![]() | |
static MetaInfoRegistry & | metaRegistry () |
returns a reference to the MetaInfoRegistry More... | |
![]() | |
void | createIfNotExists_ () |
creates the MetaInfo object if it does not exist More... | |
![]() | |
PositionType | position_ |
The data point position. More... | |
IntensityType | intensity_ |
The data point intensity. More... | |
![]() | |
MetaInfo * | meta_ |
pointer to the MetaInfo object. 0 by default More... | |
A 1-dimensional raw data point or peak with meta information.
This data structure is intended for continuous data or peak data. If you do not need to annotated single peaks with meta data, use Peak1D instead.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Destructor.
|
inline |
Equality operator.
|
inline |
Assignment operator.
References MetaInfoInterface::operator=(), and Peak1D::operator=().
|
inline |
Equality operator.
References MetaInfoInterface::operator==(), and Peak1D::operator==().
OpenMS / TOPP release 2.0.0 | Documentation generated on Tue Aug 25 2015 05:54:06 using doxygen 1.8.9.1 |