| Index: core/include/fxcrt/fx_basic.h
|
| diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h
|
| index 0635b0605d5019e50d0134a2929382d79f015f61..6c4e6ad447c1454389baba86630649f533d9eb4d 100644
|
| --- a/core/include/fxcrt/fx_basic.h
|
| +++ b/core/include/fxcrt/fx_basic.h
|
| @@ -572,70 +572,6 @@ class CFX_FixedBufGrow {
|
| DataType m_Data[FixedSize];
|
| DataType* m_pData;
|
| };
|
| -class CFX_MapPtrToPtr {
|
| - protected:
|
| - struct CAssoc {
|
| - CAssoc* pNext;
|
| -
|
| - void* key;
|
| -
|
| - void* value;
|
| - };
|
| -
|
| - public:
|
| - CFX_MapPtrToPtr(int nBlockSize = 10);
|
| -
|
| - ~CFX_MapPtrToPtr();
|
| -
|
| - int GetCount() const { return m_nCount; }
|
| -
|
| - FX_BOOL IsEmpty() const { return m_nCount == 0; }
|
| -
|
| - FX_BOOL Lookup(void* key, void*& rValue) const;
|
| -
|
| - void* GetValueAt(void* key) const;
|
| -
|
| - void*& operator[](void* key);
|
| -
|
| - void SetAt(void* key, void* newValue) { (*this)[key] = newValue; }
|
| -
|
| - FX_BOOL RemoveKey(void* key);
|
| -
|
| - void RemoveAll();
|
| -
|
| - FX_POSITION GetStartPosition() const {
|
| - return (m_nCount == 0) ? NULL : (FX_POSITION)-1;
|
| - }
|
| -
|
| - void GetNextAssoc(FX_POSITION& rNextPosition,
|
| - void*& rKey,
|
| - void*& rValue) const;
|
| -
|
| - FX_DWORD GetHashTableSize() const { return m_nHashTableSize; }
|
| -
|
| - void InitHashTable(FX_DWORD hashSize, FX_BOOL bAllocNow = TRUE);
|
| -
|
| - protected:
|
| - CAssoc** m_pHashTable;
|
| -
|
| - FX_DWORD m_nHashTableSize;
|
| -
|
| - int m_nCount;
|
| -
|
| - CAssoc* m_pFreeList;
|
| -
|
| - struct CFX_Plex* m_pBlocks;
|
| -
|
| - int m_nBlockSize;
|
| -
|
| - FX_DWORD HashKey(void* key) const;
|
| -
|
| - CAssoc* NewAssoc();
|
| -
|
| - void FreeAssoc(CAssoc* pAssoc);
|
| -
|
| - CAssoc* GetAssocAt(void* key, FX_DWORD& hash) const;
|
| -};
|
|
|
| class CFX_PtrList {
|
| protected:
|
|
|