#include "smbios/compat.h"
#include <sstream>
#include <iomanip>
#include "SmbiosXmlImpl.h"
#include "StdSmbiosXml.h"
#include "FactoryImpl2.h"
#include "XmlUtils.h"
#include "smbios/message.h"
Go to the source code of this file.
Namespaces | |
namespace | smbios |
Classes | |
class | SmbiosXmlFactoryImpl |
Defines | |
#define | LIBSMBIOS_SOURCE |
#define | DCOUT(line) do {} while(0) |
#define | DCERR(line) do {} while(0) |
Functions | |
DOMDocument * | getSmbiosXmlDoc (DOMBuilder *parser, std::string &xmlFile) |
void | validateSmbiosXmlDoc (DOMDocument *doc) |
unsigned int | parseLengthStr (string size) |
void | verifyElementAttr (const DOMElement *element, const string elementName, const string value) |
void | verifyElementAttr (const DOMElement *element, const string elementName, unsigned int size) |
int | getTypeForString (DOMDocument *doc, const string searchForDesc) |
const string | getStringForType (const DOMDocument *doc, const int searchForType) |
static void | getData_UsingXml (const ISmbiosItem &item, const string fieldName, void *out, size_t size) |
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, const string field, const string bitField, void *out) |
void | printStructureField (std::ostream &cout, const DOMNode *node, const ISmbiosItem &item) |
std::ostream & | toXmlString (const ISmbiosTable &table, ostream &cout) |
#define DCERR | ( | line | ) | do {} while(0) |
Definition at line 46 of file SmbiosXml.cpp.
#define DCOUT | ( | line | ) | do {} while(0) |
Definition at line 45 of file SmbiosXml.cpp.
#define LIBSMBIOS_SOURCE |
Definition at line 20 of file SmbiosXml.cpp.