powerd++
0.4.4
|
File local scope. More...
Classes | |
struct | Value |
Determine the unit of a string encoded value. More... | |
Enumerations | |
enum | Unit : size_t { Unit::SCALAR, Unit::PERCENT, Unit::SECOND, Unit::MILLISECOND, Unit::HZ, Unit::KHZ, Unit::MHZ, Unit::GHZ, Unit::THZ, Unit::CELSIUS, Unit::KELVIN, Unit::FAHRENHEIT, Unit::RANKINE, Unit::UNKNOWN } |
Command line argument units. More... | |
Variables | |
const char *const | UnitStr [] |
The unit strings on the command line, for the respective Unit instances. More... | |
File local scope.
|
strong |
Command line argument units.
These units are supported for command line arguments, for SCALAR arguments the behaviour of powerd is to be imitated.
Enumerator | |
---|---|
SCALAR | Values without a unit. |
PERCENT | % |
SECOND | s |
MILLISECOND | ms |
HZ | hz |
KHZ | khz |
MHZ | mhz |
GHZ | ghz |
THZ | thz |
CELSIUS | C. |
KELVIN | K. |
FAHRENHEIT | F. |
RANKINE | R. |
UNKNOWN | Unknown unit. |
const char* const anonymous_namespace{clas.cpp}::UnitStr[] |
The unit strings on the command line, for the respective Unit instances.