nux-0.9.46

nux::NCPU Class Reference

#include <NuxCore/CPU.h>

Data Structures

struct  CPUFeatures
struct  CPUInfo
struct  MemInfo
struct  OSInfo

Public Types

enum  { CPU_UNKNOWN = 0, CPU_INTEL, CPU_AMD }
enum  {
  OS_UNKNOWN = 0, OS_WIN95, OS_WIN98, OS_WINME,
  OS_WINNT40, OS_WIN2000, OS_WINXP, OS_WINXP64,
  OS_WINSERVER2003, OS_WINSERVER2003R2, OS_WINVISTA, OS_WINVISTA64,
  OS_MACOS, OS_LINUX
}

Public Member Functions

bool IsBigEndian ()
bool IsLittleEndian ()

Data Fields

NString m_CPUString
NString m_CPUBrandString
struct CPUInfo m_CPUInfo
struct CPUFeatures m_CPUFeatures
struct MemInfo m_MemInfo
struct OSInfo m_OSInfo

Protected Member Functions

void GetOS ()

Protected Attributes

bool m_IsLittleEndian

Member Enumeration Documentation

anonymous enum
Enumerator:
CPU_UNKNOWN 
CPU_INTEL 
CPU_AMD 
anonymous enum
Enumerator:
OS_UNKNOWN 
OS_WIN95 
OS_WIN98 
OS_WINME 
OS_WINNT40 
OS_WIN2000 
OS_WINXP 
OS_WINXP64 
OS_WINSERVER2003 
OS_WINSERVER2003R2 
OS_WINVISTA 
OS_WINVISTA64 
OS_MACOS 
OS_LINUX 

Member Function Documentation

void nux::NCPU::GetOS ( ) [protected]
bool nux::NCPU::IsBigEndian ( )
bool nux::NCPU::IsLittleEndian ( )

Field Documentation

bool nux::NCPU::m_IsLittleEndian [protected]

The documentation for this class was generated from the following file: