Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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
 
 
 
                                     -♦-