Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

RbuHdr Class Reference

#include <RbuImpl.h>

Inheritance diagram for RbuHdr:

IRbuHdr List of all members.

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 u32getSystemIdList () 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]

Constructor & Destructor Documentation

RbuHdr std::string  filename  )  [explicit]
 

Definition at line 62 of file RbuHdr.cpp.

References RbuHdr::hdrFh, RbuHdr::header, rbu::NUM_SYS_ID_IN_HDR, RbuHdr::sysIdList, and u32.

~RbuHdr  )  [virtual]
 

Definition at line 104 of file RbuHdr.cpp.

References RbuHdr::hdrFh.

RbuHdr  )  [protected]
 

RbuHdr const RbuHdr source  )  [private]
 


Member Function Documentation

void doUpdate  )  const [virtual]
 

Implements IRbuHdr.

Definition at line 144 of file RbuHdr.cpp.

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.

Referenced by RbuHdr::streamify().

FILE * getFh  )  const [virtual]
 

Implements IRbuHdr.

Definition at line 156 of file RbuHdr.cpp.

References RbuHdr::hdrFh.

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]
 

Implements IRbuHdr.

Definition at line 141 of file RbuHdr.cpp.

References RbuHdr::sysIdList, and u32.

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.

Definition at line 166 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, RbuHdr::sysIdList, and u32.


Member Data Documentation

FILE* hdrFh [private]
 

Definition at line 78 of file RbuImpl.h.

Referenced by RbuHdr::getFh(), RbuHdr::RbuHdr(), and RbuHdr::~RbuHdr().

struct rbu_hdr_file_header header [private]
 

Definition at line 79 of file RbuImpl.h.

Referenced by RbuHdr::getBiosVersion(), RbuHdr::getHdrVersion(), RbuHdr::RbuHdr(), and RbuHdr::streamify().

u32 sysIdList[NUM_SYS_ID_IN_HDR + 1] [private]
 

Definition at line 80 of file RbuImpl.h.

Referenced by RbuHdr::getSystemIdList(), RbuHdr::RbuHdr(), and RbuHdr::streamify().


The documentation for this class was generated from the following files:
Generated on Wed Apr 11 16:25:12 2007 for SMBIOS Library by doxygen 1.3.5