Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Classes | |
class | FieldInitializer |
class | FieldStringizer |
struct | Handle |
struct | Header |
struct | Size |
struct | Structures |
Typedefs | |
typedef std::vector< const char * > | Strings |
Enumerations | |
enum | FieldFlags { F_DERIVED = 1 , F_INTERNAL = 2 , F_HEX = 4 } |
Functions | |
static Strings | ExtractStrings (const Header *header, const char *end, const Header *&next) |
static void | Cleanup () |
template<class Structure > | |
void | Fixup (Structure &structure) |
template<> | |
void | Fixup< Bios > (Bios &p) |
template<> | |
void | Fixup< Processor > (Processor &p) |
template<> | |
void | Fixup< Cache > (Cache &p) |
template<> | |
void | Fixup< SystemSlot > (SystemSlot &p) |
template<> | |
void | Fixup< OnBoardDevices > (OnBoardDevices &p) |
template<> | |
void | Fixup< MemoryArray > (MemoryArray &p) |
template<> | |
void | Fixup< MemoryDevice > (MemoryDevice &p) |
template<> | |
void | Fixup< MemoryArrayMappedAddress > (MemoryArrayMappedAddress &p) |
template<> | |
void | Fixup< MemoryDeviceMappedAddress > (MemoryDeviceMappedAddress &p) |
template<> | |
void | Fixup< VoltageProbe > (VoltageProbe &p) |
template<> | |
void | Fixup< CoolingDevice > (CoolingDevice &p) |
template<> | |
void | Fixup< TemperatureProbe > (TemperatureProbe &p) |
template<> | |
void | Fixup< SystemPowerSupply > (SystemPowerSupply &p) |
template<> | |
void | Fixup< OnboardDevices2 > (OnboardDevices2 &p) |
template<class Structure > | |
void | AddStructure (const Header *header, const Strings &strings, Structure *&listHead) |
static Status | InitStructures () |
template<class Enum > | |
std::string | StringFromEnum (Enum field) |
const Structures * | GetStructures () |
template<class Structure > | |
void | StringizeStructure (const char *name, Structure *p, std::stringstream &ss) |
std::string | StringizeStructures (const Structures *structures) |
Variables | |
static char * | stringStorage |
static char * | stringStoragePos |
static Structures | g_Structures |
typedef std::vector<const char*> SMBIOS::Strings |
enum SMBIOS::FieldFlags |
void SMBIOS::AddStructure | ( | const Header * | header, |
const Strings & | strings, | ||
Structure *& | listHead | ||
) |
|
static |
|
static |
void SMBIOS::Fixup | ( | Structure & | structure | ) |
void SMBIOS::Fixup< Bios > | ( | Bios & | p | ) |
void SMBIOS::Fixup< Cache > | ( | Cache & | p | ) |
void SMBIOS::Fixup< CoolingDevice > | ( | CoolingDevice & | p | ) |
void SMBIOS::Fixup< MemoryArray > | ( | MemoryArray & | p | ) |
void SMBIOS::Fixup< MemoryArrayMappedAddress > | ( | MemoryArrayMappedAddress & | p | ) |
void SMBIOS::Fixup< MemoryDevice > | ( | MemoryDevice & | p | ) |
void SMBIOS::Fixup< MemoryDeviceMappedAddress > | ( | MemoryDeviceMappedAddress & | p | ) |
void SMBIOS::Fixup< OnBoardDevices > | ( | OnBoardDevices & | p | ) |
void SMBIOS::Fixup< OnboardDevices2 > | ( | OnboardDevices2 & | p | ) |
void SMBIOS::Fixup< Processor > | ( | Processor & | p | ) |
void SMBIOS::Fixup< SystemPowerSupply > | ( | SystemPowerSupply & | p | ) |
void SMBIOS::Fixup< SystemSlot > | ( | SystemSlot & | p | ) |
void SMBIOS::Fixup< TemperatureProbe > | ( | TemperatureProbe & | p | ) |
void SMBIOS::Fixup< VoltageProbe > | ( | VoltageProbe & | p | ) |
const Structures * SMBIOS::GetStructures | ( | ) |
thread-safe; return value should be cached (if possible) to avoid an atomic comparison.
|
static |
std::string SMBIOS::StringFromEnum | ( | Enum | field | ) |
void SMBIOS::StringizeStructure | ( | const char * | name, |
Structure * | p, | ||
std::stringstream & | ss | ||
) |
std::string SMBIOS::StringizeStructures | ( | const Structures * | ) |
|
static |
|
static |
|
static |