test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
OAQualityTranslator Struct Reference

#include <OAQuality.h>

Static Public Member Functions

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

Detailed Description

Definition at line 6 of file OAQuality.h.

Member Function Documentation

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

Definition at line 18 of file OAQuality.h.

References oa_calibrated, oa_fixed, and oa_unknown.

Referenced by BeautifulSoup.PageElement::_invert().

18  {
19  switch (ind) {
20  case 0:
21  return oa_fixed;
22  break;
23  case 1:
24  return oa_calibrated;
25  break;
26  case 2:
27  return oa_unknown;
28  break;
29  default:
30  return oa_unknown;
31  break;
32  }
33  }
static const char* OAQualityTranslator::name ( OAQuality  oaq)
inlinestatic

Definition at line 8 of file OAQuality.h.

References trackerHits::c.

Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and Vispa.Views.PropertyView.Property::valueChanged().

9  {
10  static const char* c[] = {
11  "fixed",
12  "calibrated",
13  "unknown"
14  };
15  return c[oaq];
16  }