45 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::diagnostics::process_priority_class> {{
xtd::diagnostics::process_priority_class::normal,
"normal"}, {
xtd::diagnostics::process_priority_class::idle,
"idle"}, {
xtd::diagnostics::process_priority_class::high,
"high"}, {
xtd::diagnostics::process_priority_class::real_time,
"real_time"}, {
xtd::diagnostics::process_priority_class::below_normal,
"below_normal"}, {
xtd::diagnostics::process_priority_class::above_normal,
"above_normal"}};}
Contains enum_ and enum_ut_ keywords.
std::vector< std::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.hpp:24
process_priority_class
Indicates the priority that the system associates with a process. This value, together with the prior...
Definition process_priority_class.hpp:26
@ below_normal
Specifies that the process has priority above Idle but below Normal.
Definition process_priority_class.hpp:36
@ above_normal
Specifies that the process has priority higher than Normal but lower than High.
Definition process_priority_class.hpp:38
@ high
Specifies that the process performs time-critical tasks that must be executed immediately,...
Definition process_priority_class.hpp:32
@ real_time
Specifies that the process has the highest possible priority. The threads of a process with RealTime ...
Definition process_priority_class.hpp:34
@ idle
Specifies that the threads of this process run only when the system is idle, such as a screen saver....
Definition process_priority_class.hpp:30
@ normal
Specifies that the process has no special scheduling needs.
Definition process_priority_class.hpp:28
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38