Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#pragma once
class CPositionIndependentHashTable;
class CPositionIndependentHashTableIterator { public: CPositionIndependentHashTableIterator(CPositionIndependentHashTable * = NULL); ~CPositionIndependentHashTableIterator();
void Reset(CPositionIndependentHashTable * = NULL);
ULONG GetNumberOfElements(); bool GetCurrentElement(PBYTE & Key, PBYTE & Value); PBYTE GetKey(); PBYTE GetValue(); bool MoveNext(); bool MovePrevious(); bool RemoveCurrentAndMoveNext(); bool RemoveCurrentAndMovePrevious();
//protected:
typedef CPositionIndependentHashTable::CHashTable CHashTable; typedef CPositionIndependentHashTable::CHashTableBucket CHashTableBucket; typedef CPositionIndependentHashTable::CHashTableElement CHashTableElement;
CPositionIndependentHashTable * m_PositionIndependentHashTable; CHashTableBucket * m_PointerToBucket;
PBYTE m_CurrentPosition; };
|