![]() |
OpenMS
|
Hierarchy levels of the OSWData tree. More...
#include <OpenMS/DATASTRUCTURES/OSWData.h>
Public Types | |
| enum | Level { PROTEIN , PEPTIDE , FEATURE , TRANSITION , SIZE_OF_VALUES } |
| Tree levels in top-down order. More... | |
Static Public Attributes | |
| static const char * | LevelName [SIZE_OF_VALUES] |
| Display strings parallel to Level (indexed by enum value). | |
Hierarchy levels of the OSWData tree.
Captures the four-level tree (Protein → Peptide → Feature → Transition) used by every OSWData accessor that needs to talk about "which depth is being addressed", together with a stable string table LevelName[] for log / UI output.
| enum Level |
Tree levels in top-down order.
| Enumerator | |
|---|---|
| PROTEIN | Top-level protein record (OSWProtein). |
| PEPTIDE | Charged peptide precursor under a protein (OSWPeptidePrecursor). |
| FEATURE | One candidate peak group (chromatographic feature) under a peptide (OSWPeakGroup). |
| TRANSITION | One fragment-ion transition under a feature (OSWTransition). |
| SIZE_OF_VALUES | Sentinel; total number of levels (also used by OSWIndexTrace::lowest to mean "not set"). |
|
static |
Display strings parallel to Level (indexed by enum value).