SMBIOS Library
|
#include <RbuImpl.h>
Public Member Functions | |
RbuHdr (std::string filename) | |
virtual | ~RbuHdr () |
virtual std::ostream & | streamify (std::ostream &cout) const |
Used by operator << (std::ostream & cout, const IRbuHdr & ) to. | |
virtual std::string | getBiosVersion () const |
virtual void | getHdrVersion (unsigned int &major, unsigned int &minor) const |
virtual const u32 * | getSystemIdList () const |
virtual void | doUpdate () const |
virtual FILE * | getFh () const |
Protected Member Functions | |
RbuHdr () |
Private Member Functions | |
RbuHdr (const RbuHdr &source) |
Private Attributes | |
FILE * | hdrFh |
struct rbu_hdr_file_header | header |
u32 | sysIdList [NUM_SYS_ID_IN_HDR+1] |
|
explicit |
|
virtual |
Definition at line 110 of file RbuHdr.cpp.
References RbuHdr::hdrFh.
|
protected |
|
virtual |
Implements IRbuHdr.
Definition at line 150 of file RbuHdr.cpp.
|
virtual |
Implements IRbuHdr.
Definition at line 116 of file RbuHdr.cpp.
References rbu_hdr_file_header::biosVersion, RbuHdr::header, and rbu_hdr_file_header::headerMajorVer.
Referenced by RbuHdr::streamify().
|
virtual |
|
virtual |
Implements IRbuHdr.
Definition at line 141 of file RbuHdr.cpp.
References RbuHdr::header, rbu_hdr_file_header::headerMajorVer, and rbu_hdr_file_header::headerMinorVer.
|
virtual |
|
virtual |
Used by operator << (std::ostream & cout, const IRbuHdr & ) to.
Users normally would not need or want to call this API. The normal operator<<() has been overloaded to call this function internally.
Implements IRbuHdr.
Definition at line 172 of file RbuHdr.cpp.
References RbuHdr::getBiosVersion(), RbuHdr::header, rbu_hdr_file_header::headerId, rbu_hdr_file_header::headerLength, rbu_hdr_file_header::headerMajorVer, rbu_hdr_file_header::headerMinorVer, rbu_hdr_file_header::numSystems, rbu_hdr_file_header::quickCheck, and RbuHdr::sysIdList.
|
private |
Definition at line 78 of file RbuImpl.h.
Referenced by RbuHdr::getFh(), and RbuHdr::~RbuHdr().
|
private |
Definition at line 79 of file RbuImpl.h.
Referenced by RbuHdr::getBiosVersion(), RbuHdr::getHdrVersion(), and RbuHdr::streamify().
|
private |
Definition at line 80 of file RbuImpl.h.
Referenced by RbuHdr::getSystemIdList(), and RbuHdr::streamify().