|  | OpenMS
    2.6.0
    | 
Map to find a spectrum via its NativeID. More...
#include <OpenMS/QC/QCBase.h>
| Public Member Functions | |
| SpectraMap ()=default | |
| Constructor.  More... | |
| SpectraMap (const MSExperiment &exp) | |
| CTor which allows immediate indexing of an MSExperiment.  More... | |
| ~SpectraMap ()=default | |
| Destructor.  More... | |
| void | calculateMap (const MSExperiment &exp) | 
| calculate a new map, delete the old one  More... | |
| UInt64 | at (const String &identifier) const | 
| void | clear () | 
| clear the map  More... | |
| bool | empty () const | 
| check if empty  More... | |
| Size | size () const | 
| get size of map  More... | |
| Private Attributes | |
| std::map< String, UInt64 > | nativeid_to_index_ | 
Map to find a spectrum via its NativeID.
| 
 | default | 
Constructor.
| 
 | explicit | 
CTor which allows immediate indexing of an MSExperiment.
| 
 | default | 
Destructor.
get index from identifier
| Exception::ElementNotFound | if identifieris unknown | 
| void calculateMap | ( | const MSExperiment & | exp | ) | 
calculate a new map, delete the old one
| void clear | ( | ) | 
clear the map
| bool empty | ( | ) | const | 
check if empty
| Size size | ( | ) | const | 
get size of map
 1.8.16
 1.8.16