#include <RbuImpl.h>
Inheritance diagram for RbuHdr:
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 |
rbu_hdr_file_header | header |
u32 | sysIdList [NUM_SYS_ID_IN_HDR+1] |
Definition at line 55 of file RbuImpl.h.
RbuHdr | ( | std::string | filename | ) | [explicit] |
~RbuHdr | ( | ) | [virtual] |
RbuHdr | ( | ) | [protected] |
virtual std::ostream& streamify | ( | std::ostream & | cout | ) | const [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.
string getBiosVersion | ( | ) | const [virtual] |
Implements IRbuHdr.
Definition at line 110 of file RbuHdr.cpp.
References rbu_hdr_file_header::biosVersion, RbuHdr::header, and rbu_hdr_file_header::headerMajorVer.
void getHdrVersion | ( | unsigned int & | major, | |
unsigned int & | minor | |||
) | const [virtual] |
Implements IRbuHdr.
Definition at line 135 of file RbuHdr.cpp.
References RbuHdr::header, rbu_hdr_file_header::headerMajorVer, and rbu_hdr_file_header::headerMinorVer.
const u32 * getSystemIdList | ( | ) | const [virtual] |
void doUpdate | ( | ) | const [virtual] |
FILE * getFh | ( | ) | const [virtual] |
FILE* hdrFh [private] |
struct rbu_hdr_file_header header [read, private] |
Definition at line 79 of file RbuImpl.h.
Referenced by RbuHdr::getBiosVersion(), and RbuHdr::getHdrVersion().
u32 sysIdList[NUM_SYS_ID_IN_HDR+1] [private] |