![]() You'll realize major benefits from CObject derivation if you use some of the optional macros in your class implementation and declarations. ![]() It's permissible, however, to have structures and non- CObject-derived classes in right-hand multiple-inheritance branches. Your derived classes can have only one CObject base class, and that CObject must be leftmost in the hierarchy. CObject provides basic services, includingĬObject doesn't support multiple inheritance. It serves as the root not only for library classes such as CFile and CObList, but also for the classes that you write. Loads or stores an object from/to an archive. Tests to see whether this object can be serialized. Tests this object's relationship to a given class. Returns the CRuntimeClass structure corresponding to this object's class. Produces a diagnostic dump of this object. The principal base class for the Microsoft Foundation Class Library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |