use rtti as shortcut for runtime type information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1c8e5c51f8
commit
9727442f12
@ -34,7 +34,7 @@ The following is a basic categorization of them:
|
|||||||
@section page_topics_programming Programming with wxWidgets
|
@section page_topics_programming Programming with wxWidgets
|
||||||
|
|
||||||
@li @subpage overview_backwardcompat
|
@li @subpage overview_backwardcompat
|
||||||
@li @subpage overview_runtimeclass
|
@li @subpage overview_rtti
|
||||||
@li @subpage overview_refcount
|
@li @subpage overview_refcount
|
||||||
@li @subpage overview_app
|
@li @subpage overview_app
|
||||||
@li @subpage overview_unicode
|
@li @subpage overview_unicode
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
||||||
@page overview_runtimeclass Runtime Class Information (RTTI)
|
@page overview_rtti Runtime Class Information (RTTI)
|
||||||
|
|
||||||
@li @ref overview_runtimeclass_intro
|
@li @ref overview_rtti_intro
|
||||||
@li @ref overview_runtimeclass_classinfo
|
@li @ref overview_rtti_classinfo
|
||||||
@li @ref overview_runtimeclass_example
|
@li @ref overview_rtti_example
|
||||||
|
|
||||||
@seealso
|
@seealso
|
||||||
|
|
||||||
@ -23,7 +23,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
|
||||||
@section overview_runtimeclass_intro Introduction
|
@section overview_rtti_intro Introduction
|
||||||
|
|
||||||
One of the failings of C++ used to be that no run-time information was provided
|
One of the failings of C++ used to be that no run-time information was provided
|
||||||
about a class and its position in the inheritance hierarchy. Another, which
|
about a class and its position in the inheritance hierarchy. Another, which
|
||||||
@ -73,7 +73,7 @@ given type, by supplying a string name. If you have a pointer to the
|
|||||||
wxClassInfo object instead, then you can simply call wxClassInfo::CreateObject.
|
wxClassInfo object instead, then you can simply call wxClassInfo::CreateObject.
|
||||||
|
|
||||||
|
|
||||||
@section overview_runtimeclass_classinfo wxClassInfo
|
@section overview_rtti_classinfo wxClassInfo
|
||||||
|
|
||||||
This class stores meta-information about classes. An application may use macros
|
This class stores meta-information about classes. An application may use macros
|
||||||
such as DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS to record run-time
|
such as DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS to record run-time
|
||||||
@ -99,7 +99,7 @@ wxObject::GetClassInfo.
|
|||||||
@li wxCreateDynamicObject
|
@li wxCreateDynamicObject
|
||||||
|
|
||||||
|
|
||||||
@section overview_runtimeclass_example Example
|
@section overview_rtti_example Example
|
||||||
|
|
||||||
In a header file frame.h:
|
In a header file frame.h:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user