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