71 bool is_64_bit_ =
false;
xtd::architecture_id architecture() const noexcept
Gets a xtd::platform_id enumeration value that identifies the operating system platform.
xtd::ustring name() const noexcept
Gets the concatenated string representation of the platform identifier.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
architecture_id
Identifies the processor architecture, supported by an assembly.
Definition: architecture_id.h:18
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
xtd::ustring architecture_string() const noexcept
Gets architecture string.
The processor architecture is unknown.
processor(xtd::architecture_id architecture, bool is_64_bit, uint32 core_count)
Initialise a new instance oof xtd::processor class.
uint32 core_count() const noexcept
Gets the number of processors on the current machine.
Contains xtd::architecture_id enum class.
Contains xtd::ustring class.
Contains xtd::object class.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
Represents information about a processor, such as the architecture. This class cannot be inherited...
Definition: processor.h:19
xtd::ustring to_string() const noexcept override
Converts the value of this processor object to its equivalent string representation.
bool is_64_bit() const noexcept
Determines whether the current operating system is a 64-bit operating system.
uint_least32_t uint32
Represents a 32-bit unsigned integer.
Definition: types.h:239