SystemDetect.cpp File Reference

#include "smbios/ISmbios.h"
#include "smbios/IToken.h"
#include "smbios/SystemInfo.h"
#include "smbios/IMemory.h"
#include "smbios/SmbiosDefs.h"
#include "ExceptionImpl.h"
#include "SystemDetect.h"
#include "DellMagic.h"
#include <string.h>
#include "smbios/message.h"

Include dependency graph for SystemDetect.cpp:

Go to the source code of this file.

Classes

struct  SystemDetectionFunction

Defines

#define LIBSMBIOS_SOURCE

Functions

bool couldBeDiamond ()
bool couldBeBayonet ()
static bool isStdDellBiosSystem ()
int SMBIOSIsDellSystem ()

Variables

smbios::Exception
< smbios::IException
SysInfoException
struct SystemDetectionFunction DellDetectionFunctions []


Define Documentation

#define LIBSMBIOS_SOURCE

Definition at line 19 of file SystemDetect.cpp.


Function Documentation

bool couldBeBayonet (  ) 

bool couldBeDiamond (  ) 

Definition at line 51 of file SystemDetect.cpp.

References SMBIOSGetDellSystemId(), and SYSTEM_ID_DIAMOND.

Here is the call graph for this function:

static bool isStdDellBiosSystem (  )  [static]

Definition at line 89 of file SystemDetect.cpp.

References IMemory::fillBuffer(), MemoryFactory::getFactory(), OEM_Dell_String, and OEM_String_Location.

Here is the call graph for this function:

int SMBIOSIsDellSystem (  ) 

Returns 0 if the system is not a Dell, 1 if it is.

Definition at line 129 of file SystemDetect.cpp.

References _, DellDetectionFunctions, SystemDetectionFunction::f_ptr, and Exception::setMessageString().

Referenced by testPlatform::testIsDell(), and testPlatform::testSystemInfo().

Here is the call graph for this function:


Variable Documentation

Referenced by SMBIOSIsDellSystem().

Definition at line 23 of file SysInfoError.cpp.


Generated on Wed Oct 8 16:44:19 2008 for SMBIOS Library by  doxygen 1.5.6