1998-05-20 10:25:30 -04:00
|
|
|
\section{\class{wxClassInfo}}\label{wxclassinfo}
|
|
|
|
|
|
|
|
This class stores meta-information about classes. Instances of this class are
|
|
|
|
not generally defined directly by an application, but indirectly through use
|
|
|
|
of macros such as {\bf DECLARE\_DYNAMIC\_CLASS} and {\bf IMPLEMENT\_DYNAMIC\_CLASS}.
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
No parent class.
|
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/object.h>
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
\wxheading{See also}
|
|
|
|
|
1998-08-05 03:13:08 -04:00
|
|
|
\helpref{Overview}{wxclassinfooverview}, \helpref{wxObject}{wxobject}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxClassInfo::wxClassInfo}\label{wxclassinfoctor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2004-07-25 12:50:57 -04:00
|
|
|
\func{}{wxClassInfo}{\param{wxChar * }{className}, \param{wxChar * }{baseClass1}, \param{wxChar * }{baseClass2},
|
1998-05-20 10:25:30 -04:00
|
|
|
\param{int}{ size}, \param{wxObjectConstructorFn }{fn}}
|
|
|
|
|
|
|
|
Constructs a wxClassInfo object. The supplied macros implicitly construct objects of this
|
|
|
|
class, so there is no need to create such objects explicitly in an application.
|
|
|
|
|
2004-12-11 16:33:17 -05:00
|
|
|
\membersection{wxClassInfo::CreateObject}\label{wxclassinfocreateobject}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{wxObject*}{CreateObject}{\void}
|
|
|
|
|
|
|
|
Creates an object of the appropriate kind. Returns NULL if the class has not been declared
|
2000-07-15 15:51:35 -04:00
|
|
|
dynamically creatable (typically, it is an abstract class).
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxClassInfo::FindClass}\label{wxclassinfofindclass}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2004-07-25 12:50:57 -04:00
|
|
|
\func{static wxClassInfo *}{FindClass}{\param{wxChar * }{name}}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
Finds the wxClassInfo object for a class of the given string name.
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxClassInfo::GetBaseClassName1}\label{wxclassinfogetbaseclassname1}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2004-07-25 12:50:57 -04:00
|
|
|
\constfunc{wxChar *}{GetBaseClassName1}{\void}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
Returns the name of the first base class (NULL if none).
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxClassInfo::GetBaseClassName2}\label{wxclassinfogetbaseclassname2}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2004-07-25 12:50:57 -04:00
|
|
|
\constfunc{wxChar *}{GetBaseClassName2}{\void}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
Returns the name of the second base class (NULL if none).
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxClassInfo::GetClassName}\label{wxclassinfogetclassname}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
2004-07-25 12:50:57 -04:00
|
|
|
\constfunc{wxChar *}{GetClassName}{\void}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
Returns the string form of the class name.
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxClassInfo::GetSize}\label{wxclassinfogetsize}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\constfunc{int}{GetSize}{\void}
|
|
|
|
|
|
|
|
Returns the size of the class.
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxClassInfo::InitializeClasses}\label{wxclassinfoinitializeclasses}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{static void}{InitializeClasses}{\void}
|
|
|
|
|
|
|
|
Initializes pointers in the wxClassInfo objects for fast execution
|
2004-05-04 04:27:20 -04:00
|
|
|
of IsKindOf. Called in base wxWidgets library initialization.
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\membersection{wxClassInfo::IsKindOf}\label{wxclassinfoiskindof}
|
|
|
|
|
|
|
|
\func{bool}{IsKindOf}{\param{wxClassInfo* }{info}}
|
|
|
|
|
2003-01-17 19:16:34 -05:00
|
|
|
Returns true if this class is a kind of (inherits from) the given class.
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
|