xtd 0.2.0
Loading...
Searching...
No Matches
architecture_id.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "enum.hpp"
6
8namespace xtd {
20 enum class architecture_id {
22 unknown = -1,
24 x86,
26 arm,
27 };
28}
29
31template<> struct xtd::enum_register<xtd::architecture_id> {
32 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::architecture_id> {{xtd::architecture_id::unknown, "unknown"}, {xtd::architecture_id::x86, "x86"}, {xtd::architecture_id::arm, "arm"}};}
33};
Contains enum_ and enum_ut_ keywords.
architecture_id
Identifies the processor architecture, supported by an assembly.
Definition architecture_id.hpp:20
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.hpp:22
@ x86
The processor architecture is x86 (Intel or amd).
@ unknown
The processor architecture is unknown.
@ arm
The processor architecture is ARM.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38