Jpp  18.3.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Enumerations | Functions
JScale.hh File Reference

Enumeration for scaling of quantity. More...

#include <cmath>
#include "JLang/JException.hh"

Go to the source code of this file.

Namespaces

 JEEP
 General puprpose classes and methods.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Enumerations

enum  JEEP::JScale_t {
  JEEP::femto_t = -15, JEEP::pico_t = -12, JEEP::nano_t = -9, JEEP::micro_t = -6,
  JEEP::milli_t = -3, JEEP::unit_t = 0, JEEP::kilo_t = +3, JEEP::mega_t = +6,
  JEEP::giga_t = +9, JEEP::tera_t = +12, JEEP::peta_t = +15, JEEP::exa_t = +18
}
 Enumeration for scaling of quantity. More...
 

Functions

double JEEP::getValue (const JScale_t scale)
 Get numerical value corresponding to scale. More...
 
const char * JEEP::getUnit (const int scale)
 Get textual unit corresponding to scale. More...
 
JScale_t JEEP::getScale (const char unit)
 Get scale corresponding to textual unit. More...
 

Detailed Description

Enumeration for scaling of quantity.

Author
mdejong

Definition in file JScale.hh.