CDocument
CDocument is a class in the Microsoft Foundation Classes (MFC) library that serves as the data model in the Document/View architecture. It is the base class from which applications derive their own document types, encapsulating the data and its persistence logic separate from the user interface.
The primary role of CDocument is to store and manage the application's document data. It provides core
CDocument also maintains metadata about the document, such as its file path (GetPathName, SetPathName) and display
In the MFC Document/View framework, the document object coordinates with one or more view objects to reflect
Developers typically derive their own document class from CDocument, adding application-specific data members and implementing or