Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CMapStringToOb::CMapStringToOb
CMapStringToOb                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  CMapStringToOb( int nBlockSize = 10 );
 
  Parameter    Description
 
  <nBlockSize> Specifies the memory-allocation granularity for extending
               the map.
 
  Remarks
 
  Constructs an empty CString-to-CObject* map. As the map grows, memory is
  allocated in units of <nBlockSize> entries.
 
  Example
 
  See CObList::CObList for a listing of the CAge class used in all
  collection examples.
 
  CMapStringToOb map(20);  // Map on the stack with blocksize of 20
 
  CMapStringToOb* pm = new CMapStringToOb;  // Map on the heap
                                                // with default blocksize
 
 
 
                                     -♦-