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

Hierarchy levels of the OSWData tree. More...

#include <OpenMS/DATASTRUCTURES/OSWData.h>

Collaboration diagram for OSWHierarchy:
[legend]

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).
 

Detailed Description

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.

Member Enumeration Documentation

◆ Level

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").

Member Data Documentation

◆ LevelName

const char* LevelName[SIZE_OF_VALUES]
static

Display strings parallel to Level (indexed by enum value).