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

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

Member Typedef Documentation

typedef ConstTokenTableIterator const_iterator [inherited]
 

Definition at line 69 of file IToken.h.

Referenced by testPlatform::testCmosWriting().

typedef TokenTableIterator iterator [inherited]
 

Definition at line 68 of file IToken.h.

Referenced by SmiFactoryImpl::makeNew(), testPlatform::testCmosChecksum(), testStandalone::testCmosConstructor(), and testPlatform::testCmosWriting().


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

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, ISmbiosTable::const_iterator, indexed_io_access_structure::dataPort, CmosRWFactory::getFactory(), indexed_io_access_structure::indexPort, and u8.

Referenced by TokenTable::addD4Structures().

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

Definition at line 52 of file TokenTable.cpp.

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

Referenced by TokenTable::TokenTable().

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

Definition at line 151 of file TokenTable.cpp.

References TokenTable::checksumList, ISmbiosTable::const_iterator, smbios::DellProtectedAreaType1, 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, ISmbiosTable::const_iterator, smbios::DellProtectedAreaType2, and TokenTable::tokenList.

Referenced by TokenTable::TokenTable().

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

Definition at line 181 of file TokenTable.cpp.

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

Referenced by TokenTable::TokenTable().

TokenTable::const_iterator begin  )  const [virtual]
 

Implements ITokenTable.

Definition at line 275 of file TokenTable.cpp.

TokenTable::iterator begin  )  [virtual]
 

Implements ITokenTable.

Definition at line 270 of file TokenTable.cpp.

TokenTable::const_iterator end  )  const [virtual]
 

Implements ITokenTable.

Definition at line 285 of file TokenTable.cpp.

TokenTable::iterator end  )  [virtual]
 

Implements ITokenTable.

Definition at line 280 of file TokenTable.cpp.

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

Definition at line 114 of file TokenTable.cpp.

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

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 ISmbiosTable::const_iterator, calling_interface_structure::first_token, calling_interface_token::tokenId, TokenTable::tokenList, smbios::TokenTypeEOT, and u8.

Referenced by TokenTable::addDAStructures().

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

Implements ITokenTable.

Definition at line 306 of file TokenTable.cpp.

References NOT_IMPLEMENTED.

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

Implements ITokenTable.

Definition at line 301 of file TokenTable.cpp.

References NOT_IMPLEMENTED.

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

Implements ITokenTable.

Definition at line 295 of file TokenTable.cpp.

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

Implements ITokenTable.

Definition at line 290 of file TokenTable.cpp.

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

Implements ITokenTable.

Definition at line 312 of file TokenTable.cpp.


Friends And Related Function Documentation

friend class TokenTableIteratorBase [friend]
 

Definition at line 75 of file TokenImpl.h.


Member Data Documentation

std::vector< CmosRWChecksumObserver > checksumList [protected]
 

Definition at line 88 of file TokenImpl.h.

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

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


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