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