Declare Serial Mfc

On
-->

Generates the C++ code necessary for a dynamic CObject-derived class with run-time access to the class name and position within the hierarchy.

Syntax

Declare Serial Mfc

Use the IMPLEMENT_SERIAL macro in a.cpp module; then link the resulting object code only once. You can use the AFX_API macro to automatically export the CArchive extraction operator for classes that use the DECLARE_SERIAL and IMPLEMENT_SERIAL macros. Run-Time Object Model Services. The following table lists the MFC macros that support run-time class. If DECLARE_SERIAL is included in the class.

Parameters

  • class_name
    The actual name of the class.

  • base_class_name
    The name of the base class. Romancing saga ost download.

  • wSchema
    A UINT 'version number' that will be encoded in the archive to enable a deserializing program to identify and handle data created by earlier program versions. The class schema number must not be –1.

Remarks

Use the IMPLEMENT_SERIAL macro in a .cpp module; then link the resulting object code only once.

You can use the AFX_API macro to automatically export the CArchive extraction operator for classes that use the DECLARE_SERIAL and IMPLEMENT_SERIAL macros. Bracket the class declarations (located in the .h file) with the following code:

For more information, see the CObject Class Topics.

Castelnuovo tedesco capriccio diabolico pdf

Example

Requirements

Arduino

Header: afx.h

See Also

MFC Macros and Globals
DECLARE_SERIAL
RUNTIME_CLASS
CObject::IsKindOf