libsmbios_c library
|
Data Structures | |
class | IException |
Base class for all Abstract Exceptions. More... | |
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 |
class | ConstSmbiosTableIterator |
class | TokenTableFactory |
class | ITokenTable |
Table interface to obtain individual Tokens. More... | |
class | IToken |
Interface to inspect or manipulate individual tokens. More... | |
class | IProtectedToken |
class | ICmosToken |
class | ISmiToken |
class | TokenTableIteratorBase |
Base class for the TokenTableIterator subclassess. More... | |
class | TokenTableIterator |
Iterator for TokenTable objects. More... | |
class | ConstTokenTableIterator |
Iterator for const TokenTable objects. More... | |
Functions | |
DECLARE_EXCEPTION (NotImplemented) | |
DECLARE_EXCEPTION (InternalError) | |
DECLARE_EXCEPTION (PermissionException) | |
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) | |
DECLARE_EXCEPTION_EX (ItemNotFound, 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) |
DECLARE_EXCEPTION (TokenException) | |
DECLARE_EXCEPTION_EX (InvalidTokenTableMode, smbios, TokenException) | |
DECLARE_EXCEPTION_EX (InvalidAccessMode, smbios, TokenException) | |
DECLARE_EXCEPTION_EX (DerefNullPointer, smbios, TokenException) | |
DECLARE_EXCEPTION_EX (ParameterError, smbios, TokenException) | |
DECLARE_EXCEPTION_EX (InvalidChecksum, smbios, TokenException) | |
DECLARE_EXCEPTION_EX (NeedAuthentication, smbios, TokenException) | |
std::ostream & | operator<< (std::ostream &cout, const ITokenTable &item) |
std::ostream & | operator<< (std::ostream &cout, const IToken &item) |
bool | isTokenActive (int tokenNum) |
void | activateToken (int tokenNum, std::string password="") |
anonymous enum |
void smbios::activateToken | ( | int | tokenNum, |
std::string | password = "" |
||
) |
smbios::DECLARE_EXCEPTION | ( | TokenException | ) |
smbios::DECLARE_EXCEPTION | ( | SmbiosException | ) |
smbios::DECLARE_EXCEPTION | ( | NotImplemented | ) |
Raised when some class does not implement part of the public interface Used mainly in classes where there are optional parts of the interface defined that require extra external functionality, such as XML, for example.
smbios::DECLARE_EXCEPTION | ( | InternalError | ) |
Used in cases where something that "cannot happen" happens. Raised in instances usually caused by some internal class state becoming corrupted.
smbios::DECLARE_EXCEPTION | ( | PermissionException | ) |
Used in cases where operating system privleges prevent an action.
smbios::DECLARE_EXCEPTION_EX | ( | InvalidTokenTableMode | , |
smbios | , | ||
TokenException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | InvalidAccessMode | , |
smbios | , | ||
TokenException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | DerefNullPointer | , |
smbios | , | ||
TokenException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | ParameterException | , |
smbios | , | ||
SmbiosException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | ParameterError | , |
smbios | , | ||
TokenException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | ParseException | , |
smbios | , | ||
SmbiosException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | InvalidChecksum | , |
smbios | , | ||
TokenException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | NeedAuthentication | , |
smbios | , | ||
TokenException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | StringUnavailable | , |
smbios | , | ||
SmbiosException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | DataOutOfBounds | , |
smbios | , | ||
SmbiosException | |||
) |
smbios::DECLARE_EXCEPTION_EX | ( | ItemNotFound | , |
smbios | , | ||
SmbiosException | |||
) |
void* smbios::getBits_FromItem | ( | const ISmbiosItem & | item, |
unsigned int | offset, | ||
void * | out, | ||
unsigned int | lsb = 0 , |
||
unsigned int | msb = 0 |
||
) |
R& smbios::getData | ( | const ISmbiosItem & | item, |
unsigned int | offset, | ||
R & | out | ||
) |
u16 smbios::getItemHandle | ( | const ISmbiosItem & | item) |
u8 smbios::getItemLength | ( | const ISmbiosItem & | item) |
u8 smbios::getItemType | ( | const ISmbiosItem & | item) |
const char* smbios::getString_FromItem | ( | const ISmbiosItem & | item, |
unsigned int | offset | ||
) |
u16 smbios::getU16_FromItem | ( | const ISmbiosItem & | item, |
unsigned int | offset | ||
) |
u32 smbios::getU32_FromItem | ( | const ISmbiosItem & | item, |
unsigned int | offset | ||
) |
u64 smbios::getU64_FromItem | ( | const ISmbiosItem & | item, |
unsigned int | offset | ||
) |
u8 smbios::getU8_FromItem | ( | const ISmbiosItem & | item, |
unsigned int | offset | ||
) |
bool smbios::isBitSet | ( | const ISmbiosItem * | itemPtr, |
unsigned int | offset, | ||
unsigned int | bitToTest | ||
) |
bool smbios::isTokenActive | ( | int | tokenNum) |
std::ostream& smbios::operator<< | ( | std::ostream & | cout, |
const ITokenTable & | item | ||
) |
std::ostream& smbios::operator<< | ( | std::ostream & | cout, |
const IToken & | item | ||
) |
std::ostream& smbios::operator<< | ( | std::ostream & | cout, |
const ISmbiosTable & | item | ||
) |
std::ostream& smbios::operator<< | ( | std::ostream & | cout, |
const ISmbiosItem & | item | ||
) |