TokenTable Class Reference

#include <TokenImpl.h>

Inheritance diagram for TokenTable:

ITokenTable 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< CmosRWChecksumObserverchecksumList

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.

typedef ConstTokenTableIterator const_iterator [inherited]

Definition at line 69 of file IToken.h.


Constructor & Destructor Documentation

TokenTable ( const smbios::ISmbiosTable  ) 

Definition at line 44 of file TokenTable.cpp.

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

~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  )  [virtual]

Implements ITokenTable.

Definition at line 290 of file TokenTable.cpp.

TokenTable::const_iterator operator[] ( const   int  )  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]

Definition at line 52 of file TokenTable.cpp.

References TokenTable::addChecksumObserverForD4Struct(), TokenTable::checksumList, smbios::DellIndexedIoTokenType, ISmbiosTable::end(), and TokenTable::getD4TokensFromStruct().

Referenced by TokenTable::TokenTable().

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().

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().

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().

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

Definition at line 114 of file TokenTable.cpp.

References indexed_io_access_structure::first_token, indexed_io_token::tokenId, TokenTable::tokenList, and smbios::TokenTypeEOT.

Referenced by TokenTable::addD4Structures().

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

Definition at line 213 of file TokenTable.cpp.

References calling_interface_structure::first_token, calling_interface_token::tokenId, TokenTable::tokenList, and smbios::TokenTypeEOT.

Referenced by TokenTable::addDAStructures().

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

Definition at line 88 of file TokenTable.cpp.

References indexed_io_access_structure::checkedRangeEndIndex, indexed_io_access_structure::checkedRangeStartIndex, TokenTable::checksumList, indexed_io_access_structure::checkType, indexed_io_access_structure::checkValueIndex, indexed_io_access_structure::dataPort, CmosRWFactory::getFactory(), and indexed_io_access_structure::indexPort.

Referenced by TokenTable::addD4Structures().


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]

Definition at line 87 of file TokenImpl.h.

Referenced by TokenTable::addD5Structures(), TokenTable::addD6Structures(), TokenTableIteratorBase::dereference(), TokenTable::getD4TokensFromStruct(), TokenTable::getDATokensFromStruct(), TokenTableIteratorBase::incrementIterator(), and TokenTable::~TokenTable().

std::vector< CmosRWChecksumObserver > checksumList [protected]

Definition at line 88 of file TokenImpl.h.

Referenced by TokenTable::addChecksumObserverForD4Struct(), TokenTable::addD4Structures(), TokenTable::addD5Structures(), and TokenTable::addD6Structures().


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