Represents information about a processor, such as the architecture. This class cannot be inherited.
Public Constructors | |
| processor (xtd::architecture_id architecture, bool is_64_bit, uint32 core_count) | |
| Initialise a new instance oof xtd::processor class.   | |
Public Properties | |
| xtd::architecture_id | architecture () const noexcept | 
| Gets a xtd::platform_id enumeration value that identifies the operating system platform.   | |
| xtd::string | architecture_string () const noexcept | 
| Gets architecture string.   | |
| uint32 | core_count () const noexcept | 
| Gets the number of processors on the current machine.   | |
| bool | is_64_bit () const noexcept | 
| Determines whether the current operating system is a 64-bit operating system.   | |
| xtd::string | name () const noexcept | 
| Gets the concatenated string representation of the platform identifier.   | |
Public Methods | |
| xtd::string | to_string () const noexcept override | 
| Converts the value of this processor object to its equivalent string representation.   | |
Additional Inherited Members | |
  Public Member Functions inherited from xtd::object | |
| object ()=default | |
| Create a new instance of the ultimate base class object.   | |
| virtual bool | equals (const object &obj) const noexcept | 
| Determines whether the specified object is equal to the current object.   | |
| virtual size_t | get_hash_code () const noexcept | 
| Serves as a hash function for a particular type.   | |
| virtual type_object | get_type () const noexcept | 
| Gets the type of the current instance.   | |
| template<typename object_t > | |
| xtd::uptr< object_t > | memberwise_clone () const | 
| Creates a shallow copy of the current object.   | |
  Static Public Member Functions inherited from xtd::object | |
| template<typename object_a_t , typename object_b_t > | |
| static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
| Determines whether the specified object instances are considered equal.   | |
| template<typename object_a_t , typename object_b_t > | |
| static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
| Determines whether the specified object instances are the same instance.   | |
| xtd::processor::processor | ( | xtd::architecture_id | architecture, | 
| bool | is_64_bit, | ||
| uint32 | core_count | ||
| ) | 
Initialise a new instance oof xtd::processor class.
| architecture | One of xtd::architectuure_id valuues. | 
| is_64_bit | true if 64 bit architecture; otherwise false. | 
| core_count | THe number of cores. | 
      
  | 
  noexcept | 
Gets a xtd::platform_id enumeration value that identifies the operating system platform.
      
  | 
  noexcept | 
Gets architecture string.
      
  | 
  noexcept | 
Gets the number of processors on the current machine.
      
  | 
  noexcept | 
Determines whether the current operating system is a 64-bit operating system.
      
  | 
  noexcept | 
Gets the concatenated string representation of the platform identifier.
      
  | 
  overridevirtualnoexcept | 
Converts the value of this processor object to its equivalent string representation.
Reimplemented from xtd::object.