SMBIOS Library
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
TokenTable Class Reference

#include <TokenImpl.h>

Inheritance diagram for TokenTable:
Inheritance graph
Collaboration diagram for TokenTable:
Collaboration graph

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

Definition at line 69 of file IToken.h.

typedef TokenTableIterator iterator
inherited

Definition at line 68 of file IToken.h.

Constructor & Destructor Documentation

TokenTable ( const smbios::ISmbiosTable table)

Definition at line 44 of file TokenTable.cpp.

~TokenTable ( )
virtual

Definition at line 258 of file TokenTable.cpp.

TokenTable ( )
private

Member Function Documentation

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

Definition at line 52 of file TokenTable.cpp.

References smbios::DellIndexedIoTokenType, and ISmbiosTable::end().

Here is the call graph for this function:

void addD5Structures ( const smbios::ISmbiosTable table)
protected

Definition at line 151 of file TokenTable.cpp.

References smbios::DellProtectedAreaType1, and ISmbiosTable::end().

Here is the call graph for this function:

void addD6Structures ( const smbios::ISmbiosTable table)
protected

Definition at line 166 of file TokenTable.cpp.

References smbios::DellProtectedAreaType2, and ISmbiosTable::end().

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, and ISmbiosTable::end().

Here is the call graph for this function:

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.

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

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.

std::vector< IToken *> tokenList
protected

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