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}}}
|
|
|
|
|
|
|
|
\membersection{wxClassInfo::wxClassInfo}\label{wxclassinfoconstr}
|
|
|
|
|
|
|
|
\func{}{wxClassInfo}{\param{char* }{className}, \param{char* }{baseClass1}, \param{char* }{baseClass2},
|
|
|
|
\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.
|
|
|
|
|
|
|
|
\membersection{wxClassInfo::CreateObject}
|
|
|
|
|
|
|
|
\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
|
|
|
|
|
|
|
\membersection{wxClassInfo::FindClass}
|
|
|
|
|
|
|
|
\func{static wxClassInfo *}{FindClass}{\param{char* }{name}}
|
|
|
|
|
|
|
|
Finds the wxClassInfo object for a class of the given string name.
|
|
|
|
|
|
|
|
\membersection{wxClassInfo::GetBaseClassName1}
|
|
|
|
|
|
|
|
\constfunc{char*}{GetBaseClassName1}{\void}
|
|
|
|
|
|
|
|
Returns the name of the first base class (NULL if none).
|
|
|
|
|
|
|
|
\membersection{wxClassInfo::GetBaseClassName2}
|
|
|
|
|
|
|
|
\constfunc{char*}{GetBaseClassName2}{\void}
|
|
|
|
|
|
|
|
Returns the name of the second base class (NULL if none).
|
|
|
|
|
|
|
|
\membersection{wxClassInfo::GetClassName}
|
|
|
|
|
|
|
|
\constfunc{char *}{GetClassName}{\void}
|
|
|
|
|
|
|
|
Returns the string form of the class name.
|
|
|
|
|
|
|
|
\membersection{wxClassInfo::GetSize}
|
|
|
|
|
|
|
|
\constfunc{int}{GetSize}{\void}
|
|
|
|
|
|
|
|
Returns the size of the class.
|
|
|
|
|
|
|
|
\membersection{wxClassInfo::InitializeClasses}
|
|
|
|
|
|
|
|
\func{static void}{InitializeClasses}{\void}
|
|
|
|
|
|
|
|
Initializes pointers in the wxClassInfo objects for fast execution
|
|
|
|
of IsKindOf. Called in base wxWindows library initialization.
|
|
|
|
|
|
|
|
\membersection{wxClassInfo::IsKindOf}\label{wxclassinfoiskindof}
|
|
|
|
|
|
|
|
\func{bool}{IsKindOf}{\param{wxClassInfo* }{info}}
|
|
|
|
|
|
|
|
Returns TRUE if this class is a kind of (inherits from) the given class.
|
|
|
|
|
|
|
|
|