OpenMS
Loading...
Searching...
No Matches
Keys Struct Reference

The registry indices of the three keys, resolved once for a loop over many hits. More...

#include <OpenMS/METADATA/MS1LabelState.h>

Public Member Functions

 Keys ()
 

Public Attributes

UInt labeled_sequence
 
UInt removed_labels
 
UInt channel
 

Detailed Description

The registry indices of the three keys, resolved once for a loop over many hits.

A meta value looked up by name takes the registry lock on every call; the exporters walk millions of hits, so they resolve the indices once per table and look up by index. A key that no hit in this process has used yet resolves to UInt(-1), which the index overloads treat as "absent". Construct it right before the loop, not statically: the keys become registered the moment a workflow annotates its first hit.

Constructor & Destructor Documentation

◆ Keys()

Keys ( )

Member Data Documentation

◆ channel

UInt channel

◆ labeled_sequence

UInt labeled_sequence

◆ removed_labels

UInt removed_labels