|
MFC Class Library | ||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
CObject | +--CMapStringToPtrin AFXCOLL.H
| Inner Classes, Typedefs, and Enums | |
typedef |
CMapStringToPtr::BASE_ARG_KEY
|
typedef |
CMapStringToPtr::BASE_ARG_VALUE
|
typedef |
CMapStringToPtr::BASE_KEY
|
typedef |
CMapStringToPtr::BASE_VALUE
|
struct |
CMapStringToPtr::CAssoc
|
| Field Summary | |
protected int |
m_nBlockSize
|
protected int |
m_nCount
|
protected UINT |
m_nHashTableSize
|
protected struct CPlex* |
m_pBlocks
|
protected CMapStringToPtr::CAssoc* |
m_pFreeList
|
protected CMapStringToPtr::CAssoc** |
m_pHashTable
|
| Fields inherited from class CObject |
classCObject |
| Constructor Summary | |
CMapStringToPtr( int nBlockSize = 10 )
|
|
~CMapStringToPtr()
|
|
| Method Summary | |
protected void |
FreeAssoc( CMapStringToPtr::CAssoc* )
|
protected CMapStringToPtr::CAssoc* |
GetAssocAt( LPCTSTR, UINT& ) const
|
int |
GetCount() const
|
UINT |
GetHashTableSize() const
|
void |
GetNextAssoc( POSITION& rNextPosition, CString& rKey, void*& rValue ) const
|
POSITION |
GetStartPosition() const
|
UINT |
HashKey( LPCTSTR key ) const
|
void |
InitHashTable( UINT hashSize, BOOL bAllocNow = TRUE )
|
BOOL |
IsEmpty() const
|
BOOL |
Lookup( LPCTSTR key, void*& rValue ) const
|
BOOL |
LookupKey( LPCTSTR key, LPCTSTR& rKey ) const
|
protected CMapStringToPtr::CAssoc* |
NewAssoc()
|
void*& |
operator[]( LPCTSTR key )
|
void |
RemoveAll()
|
BOOL |
RemoveKey( LPCTSTR key )
|
void |
SetAt( LPCTSTR key, void* newValue )
|
| Methods inherited from class CObject |
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize |
| Field Detail |
protected int m_nBlockSize;
protected int m_nCount;
protected UINT m_nHashTableSize;
protected struct CPlex* m_pBlocks;
protected CMapStringToPtr::CAssoc* m_pFreeList;
protected CMapStringToPtr::CAssoc** m_pHashTable;
| Constructor Detail |
public CMapStringToPtr( int nBlockSize = 10 );
public ~CMapStringToPtr();
| Method Detail |
protected void FreeAssoc( CMapStringToPtr::CAssoc* );
protected CMapStringToPtr::CAssoc* GetAssocAt( LPCTSTR, UINT& ) const;
public int GetCount() const;
public UINT GetHashTableSize() const;
public void GetNextAssoc( POSITION& rNextPosition, CString& rKey, void*& rValue ) const;
public POSITION GetStartPosition() const;
public UINT HashKey( LPCTSTR key ) const;
public void InitHashTable( UINT hashSize, BOOL bAllocNow = TRUE );
public BOOL IsEmpty() const;
public BOOL Lookup( LPCTSTR key, void*& rValue ) const;
public BOOL LookupKey( LPCTSTR key, LPCTSTR& rKey ) const;
protected CMapStringToPtr::CAssoc* NewAssoc();
public void*& operator[]( LPCTSTR key );
public void RemoveAll();
public BOOL RemoveKey( LPCTSTR key );
public void SetAt( LPCTSTR key, void* newValue );
|
MFC Class Library
CppDoc v2.4.1 |
||||||
| FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||