#include "smbios/compat.h"
#include <cstdlib>
#include <iostream>
#include <string>
#include <map>
#include <memory>
#include "smbios/types.h"
#include "smbios/IFactory.h"
#include "smbios/IException.h"
#include "smbios/SmbiosLowLevel.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 | SmbiosFactory |
AbstractFactory that produces ISmbiosTable objects. More... | |
class | ISmbiosTable |
Interface definition for Smbios Table operations. More... | |
class | ISmbiosItem |
Interface definition for Smbios Item operations. More... | |
class | SmbiosTableIteratorBase |
Iterator base class for ISmbiosTable objects. More... | |
class | SmbiosTableIterator |
Iterator for ISmbiosTable objects. More... | |
class | ConstSmbiosTableIterator |
Iterator for const ISmbiosTable objects. More... | |
Functions | |
DECLARE_EXCEPTION (SmbiosException) | |
DECLARE_EXCEPTION_EX (ParameterException, smbios, SmbiosException) | |
DECLARE_EXCEPTION_EX (ParseException, smbios, SmbiosException) | |
DECLARE_EXCEPTION_EX (StringUnavailable, smbios, SmbiosException) | |
DECLARE_EXCEPTION_EX (DataOutOfBounds, smbios, SmbiosException) | |
u8 | getItemType (const ISmbiosItem &item) |
u8 | getItemLength (const ISmbiosItem &item) |
u16 | getItemHandle (const ISmbiosItem &item) |
u8 | getU8_FromItem (const ISmbiosItem &item, unsigned int offset) |
u16 | getU16_FromItem (const ISmbiosItem &item, unsigned int offset) |
u32 | getU32_FromItem (const ISmbiosItem &item, unsigned int offset) |
u64 | getU64_FromItem (const ISmbiosItem &item, unsigned int offset) |
const char * | getString_FromItem (const ISmbiosItem &item, unsigned int offset) |
void * | getBits_FromItem (const ISmbiosItem &item, unsigned int offset, void *out, unsigned int lsb=0, unsigned int msb=0) |
bool | isBitSet (const ISmbiosItem *itemPtr, unsigned int offset, unsigned int bitToTest) |
template<class R> | |
R & | getData (const ISmbiosItem &item, unsigned int offset, R &out) |
std::ostream & | operator<< (std::ostream &cout, const ISmbiosTable &item) |
std::ostream & | operator<< (std::ostream &cout, const ISmbiosItem &item) |