X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2cd3cc948ea512eba91032323fe32207ac74bf8e..5852e62f1fe76907832ba2c7f2b4099635e44c4b:/docs/doxygen/overviews/runtimeclass.h diff --git a/docs/doxygen/overviews/runtimeclass.h b/docs/doxygen/overviews/runtimeclass.h index 39ee9cfdf4..dd16fe7db9 100644 --- a/docs/doxygen/overviews/runtimeclass.h +++ b/docs/doxygen/overviews/runtimeclass.h @@ -6,15 +6,15 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -/*! +/** -@page overview_runtimeclass Runtime Class Information (RTTI) +@page overview_rtti Runtime Type Information (RTTI) -@li @ref overview_runtimeclass_intro -@li @ref overview_runtimeclass_classinfo -@li @ref overview_runtimeclass_example +@li @ref overview_rtti_intro +@li @ref overview_rtti_classinfo +@li @ref overview_rtti_example -@seealso +@see @li wxObject @li wxClassInfo @@ -23,9 +23,9 @@
-@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 runtime information was provided about a class and its position in the inheritance hierarchy. Another, which still persists, is that instances of a class cannot be created just by knowing the name of a class, which makes facilities such as persistent storage hard to @@ -73,10 +73,10 @@ given type, by supplying a string name. If you have a pointer to the 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 -such as DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS to record run-time +such as DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS to record runtime information about a class, including: @li It's position in the inheritance hierarchy. @@ -93,13 +93,13 @@ You can get the wxClassInfo for a class by using the CLASSINFO macro, e.g. CLASSINFO(wxFrame). You can get the wxClassInfo for an object using wxObject::GetClassInfo. -@seealso +@see @li wxObject @li wxCreateDynamicObject -@section overview_runtimeclass_example Example +@section overview_rtti_example Example In a header file frame.h: