CMS 3D CMS Logo

List of all members | Static Public Member Functions
OAQualityTranslator Struct Reference

#include <OAQuality.h>

Static Public Member Functions

static constexpr const OAQuality index (int ind)
 
static constexpr const char *const name (OAQuality oaq)
 

Detailed Description

Definition at line 6 of file OAQuality.h.

Member Function Documentation

◆ index()

static constexpr const OAQuality OAQualityTranslator::index ( int  ind)
inlinestatic

Definition at line 12 of file OAQuality.h.

References oa_calibrated, oa_fixed, and oa_unknown.

12  {
13  switch (ind) {
14  case 0:
15  return oa_fixed;
16  break;
17  case 1:
18  return oa_calibrated;
19  break;
20  case 2:
21  return oa_unknown;
22  break;
23  default:
24  return oa_unknown;
25  break;
26  }
27  }

◆ name()

static constexpr const char* const OAQualityTranslator::name ( OAQuality  oaq)
inlinestatic