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 (PositionType a, IntensityType b) | |
| construct with position and intensity 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... | |
Public Member Functions inherited from Peak1D | |
| 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... | |
Public Member Functions inherited from MetaInfoInterface | |
| 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 (or DataValue::EMPTY if not found) More... | |
| const DataValue & | getMetaValue (UInt index) const |
| Returns the value corresponding to an index (or DataValue::EMPTY if not found) More... | |
| bool | metaValueExists (const String &name) const |
| Returns whether an entry with the given name exists. More... | |
| bool | metaValueExists (UInt index) const |
| Returns whether an entry with the given index exists. 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 | |
Public Types inherited from Peak1D | |
| enum | { DIMENSION = 1 } |
| typedef float | IntensityType |
| Intensity type. More... | |
| typedef DPosition< 1 > | PositionType |
| Position type. More... | |
| typedef double | CoordinateType |
| Coordinate type. More... | |
Static Public Member Functions inherited from MetaInfoInterface | |
| static MetaInfoRegistry & | metaRegistry () |
| Returns a reference to the MetaInfoRegistry. More... | |
Protected Member Functions inherited from MetaInfoInterface | |
| void | createIfNotExists_ () |
| Creates the MetaInfo object if it does not exist. More... | |
Protected Attributes inherited from Peak1D | |
| PositionType | position_ |
| The data point position. More... | |
| IntensityType | intensity_ |
| The data point intensity. More... | |
Protected Attributes inherited from MetaInfoInterface | |
| 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.
|
inlineexplicit |
construct with position and intensity
|
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 Jan 31 2017 06:40:42 using doxygen 1.8.8 |