Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Constructs an empty CString-to-CObject* map.
CMapStringToOb(
INT_PTR nBlockSize = 10
);
Parameters
- nBlockSize
Specifies the memory-allocation granularity for extending the map.
Remarks
As the map grows, memory is allocated in units of nBlockSize entries.
The following table shows other member functions that are similar to CMapStringToOb:: CMapStringToOb.
Class |
Member Function |
|---|---|
CMapPtrToPtr( INT_PTR nBlockSize = 10 ); |
|
CMapPtrToWord( INT_PTR nBlockSize = 10 ); |
|
CMapStringToPtr( INT_PTR nBlockSize = 10 ); |
|
CMapStringToString( INT_PTR nBlockSize = 10 ); |
|
CMapWordToOb( INT_PTR nBlockSize = 10 ); |
|
MapWordToPtr( INT_PTR nBlockSize = 10 ); |
Example
CMapStringToOb map(20); // Map on the stack with blocksize of 20
CMapStringToOb* pm = new CMapStringToOb; // Map on the heap
// with default blocksize
See CObList::CObList for a listing of the CAge class used in all collection examples.
Requirements
Header: afxcoll.h