lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
XtcData::Level Class Reference

Wrapper class for the Level::Type enum and its name() lookup. More...

#include <Level.hh>

Public Types

enum  Type { Segment , Event , NumberOfLevels }
 Level identifiers. More...
 

Static Public Member Functions

static const char * name (Type type)
 Return "Segment" or "Event" for type, or "-Invalid-" if type >= NumberOfLevels.
 

Detailed Description

Wrapper class for the Level::Type enum and its name() lookup.

Member Enumeration Documentation

◆ Type

Level identifiers.

Enumerator
Segment 

Value 0; name() returns "Segment".

Event 

Value 1; name() returns "Event".

NumberOfLevels 

Value 2, the number of levels; name() returns "-Invalid-" for values at or above it.

Member Function Documentation

◆ name()

static const char * XtcData::Level::name ( Type  type)
static

Return "Segment" or "Event" for type, or "-Invalid-" if type >= NumberOfLevels.


The documentation for this class was generated from the following file: