Yeppp!
 All Classes Namespaces Functions Variables Properties Pages
Public Member Functions | Static Public Attributes | Properties | List of all members
CpuArchitecture Struct Reference

The basic instruction set architecture of the processor. More...

Public Member Functions

bool Equals (CpuArchitecture other)
 Compares for equality with another CpuArchitecture object. More...
 
override bool Equals (System.Object other)
 Compares for equality with another object. More...
 
override int GetHashCode ()
 Provides a hash for the object. More...
 
override string ToString ()
 Provides a string ID for the object. More...
 

Static Public Attributes

static readonly CpuArchitecture Unknown = new CpuArchitecture(0)
 Instruction set architecture is not known to the library. More...
 
static readonly CpuArchitecture X86 = new CpuArchitecture(1)
 x86 or x86-64 ISA. More...
 
static readonly CpuArchitecture ARM = new CpuArchitecture(2)
 ARM ISA. More...
 
static readonly CpuArchitecture MIPS = new CpuArchitecture(3)
 MIPS ISA. More...
 
static readonly CpuArchitecture PowerPC = new CpuArchitecture(4)
 PowerPC ISA. More...
 
static readonly CpuArchitecture IA64 = new CpuArchitecture(5)
 IA64 ISA. More...
 
static readonly CpuArchitecture SPARC = new CpuArchitecture(6)
 SPARC ISA. More...
 

Properties

System.Collections.Generic.IEnumerable
< CpuIsaFeature
CpuIsaFeatures [get]
 An iterable list of potentially available on this architecture ISA features. More...
 
System.Collections.Generic.IEnumerable
< CpuSimdFeature
CpuSimdFeatures [get]
 An iterable list of potentially available on this architecture SIMD features. More...
 
System.Collections.Generic.IEnumerable
< CpuSystemFeature
CpuSystemFeatures [get]
 An iterable list of potentially available on this architecture non-ISA CPU and system features. More...
 
string Description [get]
 Provides a description for the object. More...
 

Detailed Description

The basic instruction set architecture of the processor.

See Also
Library.GetCpuArchitecture

Member Function Documentation

bool Equals ( CpuArchitecture  other)
inline

Compares for equality with another CpuArchitecture object.

Comparison is performed by value.

override bool Equals ( System.Object  other)
inline

Compares for equality with another object.

Comparison is performed by value.

override int GetHashCode ( )
inline

Provides a hash for the object.

Non-equal CpuArchitecture objects are guaranteed to have different hashes.

override string ToString ( )
inline

Provides a string ID for the object.

The string ID starts with a Latin letter and contains only Latin letters, digits, and underscore symbol.

See Also
Description

Member Data Documentation

readonly CpuArchitecture Unknown = new CpuArchitecture(0)
static

Instruction set architecture is not known to the library.

This value is never returned on supported architectures.

readonly CpuArchitecture X86 = new CpuArchitecture(1)
static

x86 or x86-64 ISA.

readonly CpuArchitecture ARM = new CpuArchitecture(2)
static

ARM ISA.

readonly CpuArchitecture MIPS = new CpuArchitecture(3)
static

MIPS ISA.

readonly CpuArchitecture PowerPC = new CpuArchitecture(4)
static

PowerPC ISA.

readonly CpuArchitecture IA64 = new CpuArchitecture(5)
static

IA64 ISA.

readonly CpuArchitecture SPARC = new CpuArchitecture(6)
static

SPARC ISA.

Property Documentation

System.Collections.Generic.IEnumerable<CpuIsaFeature> CpuIsaFeatures
get

An iterable list of potentially available on this architecture ISA features.

For Unknown architecture provides an iterator over generic ISA features.

System.Collections.Generic.IEnumerable<CpuSimdFeature> CpuSimdFeatures
get

An iterable list of potentially available on this architecture SIMD features.

For Unknown architecture provides an iterator over generic SIMD features.

System.Collections.Generic.IEnumerable<CpuSystemFeature> CpuSystemFeatures
get

An iterable list of potentially available on this architecture non-ISA CPU and system features.

For Unknown architecture provides an iterator over generic non-ISA CPU and system features.

string Description
get

Provides a description for the object.

The description can contain spaces and non-ASCII characters.

See Also
ToString()