42 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::forms::battery_charge_status> {{
xtd::forms::battery_charge_status::high,
"high"}, {
xtd::forms::battery_charge_status::low,
"low"}, {
xtd::forms::battery_charge_status::critical,
"critical"}, {
xtd::forms::battery_charge_status::charging,
"charging"}, {
xtd::forms::battery_charge_status::no_system_battery,
"no_system_battery"}, {
xtd::forms::battery_charge_status::unknown,
"unknown"}};}
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38