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]

Detailed Description

Definition at line 55 of file RbuImpl.h.


Constructor & Destructor Documentation

RbuHdr ( std::string  filename  )  [explicit]

~RbuHdr (  )  [virtual]

Definition at line 104 of file RbuHdr.cpp.

References RbuHdr::hdrFh.

RbuHdr (  )  [protected]

RbuHdr ( const RbuHdr source  )  [private]


Member Function Documentation

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]

Implements IRbuHdr.

Definition at line 141 of file RbuHdr.cpp.

References RbuHdr::sysIdList.

void doUpdate (  )  const [virtual]

Implements IRbuHdr.

Definition at line 144 of file RbuHdr.cpp.

FILE * getFh (  )  const [virtual]

Implements IRbuHdr.

Definition at line 156 of file RbuHdr.cpp.

References RbuHdr::hdrFh.


Member Data Documentation

FILE* hdrFh [private]

Definition at line 78 of file RbuImpl.h.

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

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]

Definition at line 80 of file RbuImpl.h.

Referenced by RbuHdr::getSystemIdList().


The documentation for this class was generated from the following files:
Generated on Sat Apr 21 11:36:10 2007 for SMBIOS Library by  doxygen 1.5.2