TokenTable Class Reference

#include <TokenImpl.h>

Inheritance diagram for TokenTable:

Inheritance graph
[legend]
Collaboration diagram for TokenTable:

Collaboration graph
[legend]

List of all members.

Public Types

typedef TokenTableIterator iterator
typedef ConstTokenTableIterator const_iterator

Public Member Functions

 TokenTable (const smbios::ISmbiosTable &)
virtual ~TokenTable ()
virtual iterator begin ()
virtual const_iterator begin () const
virtual iterator end ()
virtual const_iterator end () const
virtual iterator operator[] (const int)
virtual const_iterator operator[] (const int) const
virtual iterator operator[] (const std::string &)
virtual const_iterator operator[] (const std::string &) const
virtual std::ostream & streamify (std::ostream &cout) const

Protected Member Functions

void addD4Structures (const smbios::ISmbiosTable &table)
void addD5Structures (const smbios::ISmbiosTable &table)
void addD6Structures (const smbios::ISmbiosTable &table)
void addDAStructures (const smbios::ISmbiosTable &table)
void getD4TokensFromStruct (const smbios::ISmbiosTable::const_iterator &item, const u8 *ptr, size_t size)
void getDATokensFromStruct (const smbios::ISmbiosTable::const_iterator &item, const u8 *ptr, size_t size)
void addChecksumObserverForD4Struct (const smbios::ISmbiosTable::const_iterator &item, const u8 *ptr, size_t size)

Protected Attributes

std::vector< IToken * > tokenList
std::vector
< CmosRWChecksumObserver
checksumList

Private Member Functions

 TokenTable ()

Friends

class TokenTableIteratorBase


Detailed Description

Definition at line 54 of file TokenImpl.h.


Member Typedef Documentation

typedef TokenTableIterator iterator [inherited]

Definition at line 68 of file IToken.h.

Definition at line 69 of file IToken.h.


Constructor & Destructor Documentation

TokenTable ( const smbios::ISmbiosTable table  ) 

Definition at line 44 of file TokenTable.cpp.

References TokenTable::addD4Structures(), TokenTable::addD5Structures(), TokenTable::addD6Structures(), and TokenTable::addDAStructures().

Here is the call graph for this function:

~TokenTable (  )  [virtual]

Definition at line 258 of file TokenTable.cpp.

References TokenTable::tokenList.

TokenTable (  )  [private]


Member Function Documentation

TokenTable::iterator begin (  )  [virtual]

Implements ITokenTable.

Definition at line 270 of file TokenTable.cpp.

TokenTable::const_iterator begin (  )  const [virtual]

Implements ITokenTable.

Definition at line 275 of file TokenTable.cpp.

TokenTable::iterator end (  )  [virtual]

Implements ITokenTable.

Definition at line 280 of file TokenTable.cpp.

TokenTable::const_iterator end (  )  const [virtual]

Implements ITokenTable.

Definition at line 285 of file TokenTable.cpp.

TokenTable::iterator operator[] ( const int  type  )  [virtual]

Implements ITokenTable.

Definition at line 290 of file TokenTable.cpp.

TokenTable::const_iterator operator[] ( const int  type  )  const [virtual]

Implements ITokenTable.

Definition at line 295 of file TokenTable.cpp.

virtual iterator operator[] ( const std::string &   )  [virtual]

Implements ITokenTable.

virtual const_iterator operator[] ( const std::string &   )  const [virtual]

Implements ITokenTable.

virtual std::ostream& streamify ( std::ostream &  cout  )  const [virtual]

Implements ITokenTable.

void addD4Structures ( const smbios::ISmbiosTable table  )  [protected]

void addD5Structures ( const smbios::ISmbiosTable table  )  [protected]

Definition at line 151 of file TokenTable.cpp.

References TokenTable::checksumList, smbios::DellProtectedAreaType1, ISmbiosTable::end(), and TokenTable::tokenList.

Referenced by TokenTable::TokenTable().

Here is the call graph for this function:

void addD6Structures ( const smbios::ISmbiosTable table  )  [protected]

Definition at line 166 of file TokenTable.cpp.

References TokenTable::checksumList, smbios::DellProtectedAreaType2, ISmbiosTable::end(), and TokenTable::tokenList.

Referenced by TokenTable::TokenTable().

Here is the call graph for this function:

void addDAStructures ( const smbios::ISmbiosTable table  )  [protected]

Definition at line 181 of file TokenTable.cpp.

References smbios::DellCallingInterface, ISmbiosTable::end(), and TokenTable::getDATokensFromStruct().

Referenced by TokenTable::TokenTable().

Here is the call graph for this function:

void getD4TokensFromStruct ( const smbios::ISmbiosTable::const_iterator item,
const u8 ptr,
size_t  size 
) [protected]

void getDATokensFromStruct ( const smbios::ISmbiosTable::const_iterator item,
const u8 ptr,
size_t  size 
) [protected]

void addChecksumObserverForD4Struct ( const smbios::ISmbiosTable::const_iterator item,
const u8 ptr,
size_t  size 
) [protected]


Friends And Related Function Documentation

friend class TokenTableIteratorBase [friend]

Definition at line 75 of file TokenImpl.h.


Member Data Documentation

std::vector< IToken *> tokenList [protected]

std::vector< CmosRWChecksumObserver > checksumList [protected]


The documentation for this class was generated from the following files:

Generated on Sat Sep 27 22:02:37 2008 for SMBIOS Library by  doxygen 1.5.6