15 typedef unsigned __int32 Register;
18 typedef uint32_t Register;
21 #include <Utility/String/NRE_String.hpp> 40 Register registers[4];
52 CpuID(
unsigned int i);
60 Register
const&
getRegister(
unsigned int index)
const;
72 Register
const&
getEax()
const;
76 Register
const&
getEbx()
const;
80 Register
const&
getEcx()
const;
84 Register
const&
getEdx()
const;
92 Register
const&
operator [](
unsigned int index)
const;
108 std::ostream& operator <<(std::ostream& stream,
CpuID const& o);
112 #include "NRE_CpuID.tpp" Register const & getEax() const
Register const & getEcx() const
Register const & getRegister(unsigned int index) const
Utility::String toString() const
Definition: NRE_CpuID.cpp:25
Register const & getEdx() const
The NearlyRealEngine's global namespace.
Register const & operator[](unsigned int index) const
std::size_t getRegistersSize() const
Allow access to the cpuid intrinsic command for all system.
Definition: NRE_CpuID.hpp:38
const Register * getRegisters() const
Register const & getEbx() const