2.1 Class Summary

The following is a list of the Microsoft Foundation Class Library's general-purpose classes categorized by function. CObject is the root class in the Microsoft Foundation class hierarchy.

File Classes

CFile Binary disk files.  
CMemFile In-memory files.  
CStdioFile Buffered stream disk files, usually text mode.  

Object Input and Output

CArchive Persistent storage for objects.  
CDumpContext Destinations for diagnostic dumps.  

Exceptions

CException Base class for exceptions.  
CArchiveException Archive exceptions.  
CFileException File-oriented exceptions.  
CMemoryException Out-of-memory exceptions.  
CNotSupportedException Exceptions resulting from the invocation of an unsupported feature.  
CResourceException Exceptions resulting from a failure to load a Windows resource (Windows only).  

Collections

CByteArray Arrays of bytes.  
CDWordArray Arrays of double words.  
CObArray Arrays of CObject pointers.  
CPtrArray Arrays of void (generic) pointers.  
CStringArray Arrays of CString objects.  
CWordArray Arrays of words.  
CObList Lists of CObject pointers.  
CPtrList Lists of void (generic) pointers.  
CStringList Lists of CString objects.  
CMapPtrToWord Maps that associate void pointers to words.  
CMapPtrToPtr Maps that associate void pointers to void pointers.  
CMapStringToOb Maps that associate CString objects to CObject pointers.  
CMapStringToPtr Maps that associate CString objects to void pointers.  
CMapStringToString Maps that associate CString objects to CString objects.  
CMapWordToOb Maps that associate words to CObject pointers.  
CMapWordToPtr Maps that associate words to void pointers.  

Miscellaneous Support Classes

CString Character strings.  
CTime Absolute time and date values.  
CTimeSpan Relative time and date values.  

Global Functions and Macros

Chapters 3 through 6 of this manual document the elements of the Microsoft Foundation Class Library that are not directly related to individual classes. A complete summary of macros and global functions is provided in Chapter 3, while diagnostic services, including memory diagnostics and object dump functions, are discussed in Chapter 4. Exception processing, which uses TRY, CATCH, THROW, and other macros, is covered in Chapter 5.