Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ISmbiosXml.h File Reference

#include "smbios/compat.h"
#include "smbios/ISmbios.h"
#include "smbios/config/abi_prefix.hpp"
#include "smbios/config/abi_suffix.hpp"

Go to the source code of this file.

Namespaces

namespace  smbios

Classes

class  SmbiosXmlFactory

Defines

#define LIBSMBIOS_NEED_SMBIOSXML

Functions

template<class R>
R & getData (const ISmbiosItem &item, const std::string field, R &out)
u8 getU8_FromItem (const ISmbiosItem &item, std::string field)
u16 getU16_FromItem (const ISmbiosItem &item, std::string field)
u32 getU32_FromItem (const ISmbiosItem &item, std::string field)
u64 getU64_FromItem (const ISmbiosItem &item, std::string field)
const char * getString_FromItem (const ISmbiosItem &item, std::string field)
void * getBits_FromItem (const ISmbiosItem &item, std::string field, std::string bitField, void *out)
void getData_FromItem (std::string field, void *out, size_t sz)
std::ostream & toXmlString (const ISmbiosTable &, std::ostream &)


Define Documentation

#define LIBSMBIOS_NEED_SMBIOSXML
 

Definition at line 24 of file ISmbiosXml.h.


Function Documentation

void* getBits_FromItem const ISmbiosItem &  item,
std::string  field,
std::string  bitField,
void *  out
 

R& getData const ISmbiosItem &  item,
const std::string  field,
R &  out
 

Definition at line 44 of file ISmbiosXml.h.

References smbios::getData_FromItem().

Referenced by testStandalone::testItem_GetBiosInfo().

void getData_FromItem std::string  field,
void *  out,
size_t  sz
 

Referenced by smbios::getData().

const char * getString_FromItem const ISmbiosItem &  item,
std::string  field
 

Definition at line 377 of file SmbiosXml.cpp.

References DOMDocument, DOMElement, xmlutils::findElement(), xmlutils::findElementWithNumericAttr(), SmbiosFactory::getFactory(), xmlutils::getNumberFromXmlAttr(), SmbiosFactory::getSingleton(), smbios::getString_FromItem(), ISmbiosItem::getType(), SmbiosTableXml::getXmlDoc(), smbios::verifyElementAttr(), and xmlDocGetRootElement.

Referenced by getStringFromTable(), testStandalone::testItem_GetBiosInfo(), testStandalone::testItem_GetSystemInfo(), testStandalone::testNonXml(), testStandalone::testTypeMismatch(), and testPlatform::testVariousAccessors().

u16 getU16_FromItem const ISmbiosItem &  item,
std::string  field
 

Definition at line 356 of file SmbiosXml.cpp.

References smbios::getData_UsingXml(), and u16.

Referenced by getIdByteFromRevItem(), testStandalone::testEachItemAccessors(), testStandalone::testGetBoundaries(), testStandalone::testItem_GetBiosInfo(), testStandalone::testItem_GetSystemInfo(), testStandalone::testNonXml(), and testStandalone::testTypeMismatch().

u32 getU32_FromItem const ISmbiosItem &  item,
std::string  field
 

Definition at line 363 of file SmbiosXml.cpp.

References smbios::getData_UsingXml(), and u32.

Referenced by testStandalone::testGetBoundaries(), and testStandalone::testTypeMismatch().

u64 getU64_FromItem const ISmbiosItem &  item,
std::string  field
 

Definition at line 370 of file SmbiosXml.cpp.

References smbios::getData_UsingXml().

Referenced by testStandalone::testGetBoundaries(), testStandalone::testItem_GetBiosInfo(), and testStandalone::testTypeMismatch().

u8 getU8_FromItem const ISmbiosItem &  item,
std::string  field
 

Definition at line 349 of file SmbiosXml.cpp.

References smbios::getData_UsingXml(), and u8.

Referenced by getIdByteFromRevItem(), rbu::getSupportedPacketType(), testStandalone::testEachItemAccessors(), testStandalone::testGetBoundaries(), testStandalone::testItem_GetBiosInfo(), testStandalone::testItem_GetSystemInfo(), and testStandalone::testNonXml().

std::ostream& toXmlString const ISmbiosTable &  ,
std::ostream & 
 


Generated on Thu Jun 21 02:49:21 2007 for SMBIOS Library by  doxygen 1.3.9.1