#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] |
Definition at line 55 of file RbuImpl.h.
| RbuHdr | ( | std::string | filename | ) | [explicit] |
| ~RbuHdr | ( | ) | [virtual] |
Definition at line 110 of file RbuHdr.cpp.
References RbuHdr::hdrFh.
| RbuHdr | ( | ) | [protected] |
| void doUpdate | ( | ) | const [virtual] |
Implements IRbuHdr.
Definition at line 150 of file RbuHdr.cpp.
| string getBiosVersion | ( | ) | const [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.
| FILE * getFh | ( | ) | const [virtual] |
| void getHdrVersion | ( | unsigned int & | major, | |
| unsigned int & | minor | |||
| ) | const [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.
| const u32 * getSystemIdList | ( | ) | const [virtual] |
| 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.
FILE* hdrFh [private] |
Definition at line 78 of file RbuImpl.h.
Referenced by RbuHdr::getFh(), and RbuHdr::~RbuHdr().
struct rbu_hdr_file_header header [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] |
Definition at line 80 of file RbuImpl.h.
Referenced by RbuHdr::getSystemIdList().
1.7.1