RUNTIME_CLASS Macro

Syntax

RUNTIME_CLASS( class_name )

Parameters

class_name

The actual name of the class (without quotes).

Remarks

RUNTIME_CLASS returns a pointer to a CRuntimeClass structure for the class specified by class_name.

Example

CRuntimeClass* prt = RUNTIME_CLASS( CAge );

ASSERT( strcmp( prt->m_pszClassName, "CAge" ) == 0 );

See Also

DECLARE_DYNAMIC, CObject::GetRuntimeClass, IMPLEMENT_DYNAMIC