#include "smbios/ISmbios.h"#include "smbios/IToken.h"#include "smbios/SystemInfo.h"#include "smbios/IMemory.h"#include "smbios/SmbiosDefs.h"#include "../common/ExceptionImpl.h"#include "SystemDetect.h"#include "DellMagic.h"#include "smbios/message.h"Go to the source code of this file.
Classes | |
| struct | SystemDetectionFunction |
Defines | |
| #define | LIBSMBIOS_SOURCE |
Functions | |
| bool | couldBeBayonet () |
| static bool | isStdDellBiosSystem () |
| int | SMBIOSIsDellSystem () |
Variables | |
| smbios::Exception< smbios::IException > | SysInfoException |
| SystemDetectionFunction | DellDetectionFunctions [] |
| #define LIBSMBIOS_SOURCE |
Definition at line 19 of file SystemDetect.cpp.
| bool couldBeBayonet | ( | ) |
Definition at line 49 of file SystemDetect.cpp.
References Bayonet_Detect_String, couldBeBayonet(), ISmbiosTable::end(), SmbiosFactory::getFactory(), SmbiosFactory::getSingleton(), OEM_String_Field_Number, and smbios::OEM_Strings.
Referenced by couldBeBayonet(), and getIdByteFromOEMItem().
| static bool isStdDellBiosSystem | ( | ) | [static] |
Definition at line 76 of file SystemDetect.cpp.
References IMemory::fillBuffer(), MemoryFactory::getFactory(), OEM_Dell_String, and OEM_String_Location.
| int SMBIOSIsDellSystem | ( | ) |
Returns 0 if the system is not a Dell, 1 if it is.
Definition at line 115 of file SystemDetect.cpp.
References _, DellDetectionFunctions, and SysInfoException.
Referenced by testSmbiosXml::testIsDell(), and testSmbiosXml::testSystemInfo().
Referenced by SMBIOSIsDellSystem().
Definition at line 23 of file SysInfoError.cpp.
1.4.7