Energy Struct Reference
#include <Energy.h>
Public Types | |
enum | UNITS { UNKNOWN = -1, JOULE, EV, KWH, MWD, GWD, GWYR, END } |
Static Public Member Functions | |
template<Energy::UNITS u> | |
static std::string | name () |
static std::string | name (Energy::UNITS u) |
template<Energy::UNITS u> | |
static double | base () |
static double | base (Energy::UNITS u) |
template<Energy::UNITS to, Energy::UNITS from> | |
static double | factor () |
template<Energy::UNITS to> | |
static double | factor (Energy::UNITS from) |
static double | factor (Energy::UNITS to, Energy::UNITS from) |
static Energy::UNITS | units (const char *s) |
static constexpr Energy::UNITS | units (int i) |
Static Public Attributes | |
static const UNITS | DEFAULT = JOULE |
Detailed Description
- Examples:
- tstEnergy.cpp.
Member Enumeration Documentation
enum UNITS |
Member Function Documentation
|
static |
|
inlinestatic |
References Energy::EV, Energy::GWD, Energy::GWYR, Energy::JOULE, Energy::KWH, and Energy::MWD.
|
static |
- Examples:
- tstEnergy.cpp.
Referenced by Energy::factor(), and TEST().
|
inlinestatic |
References Energy::EV, Energy::GWD, Energy::GWYR, Energy::JOULE, Energy::KWH, and Energy::MWD.
|
inlinestatic |
|
inlinestatic |
References Energy::base().
|
inlinestatic |
References Energy::base().
|
inlinestatic |
References Energy::EV, Energy::GWD, Energy::GWYR, Energy::JOULE, Energy::KWH, Energy::MWD, and Energy::UNKNOWN.
|
inlinestatic |
Member Data Documentation
The documentation for this struct was generated from the following files:
- Core/dc/Energy.h
- Core/dc/Energy.i.h