1 \section{\class{wxClassInfo
}}\label{wxclassinfo
}
3 This class stores meta-information about classes. Instances of this class are
4 not generally defined directly by an application, but indirectly through use
5 of macros such as
{\bf DECLARE
\_DYNAMIC\_CLASS} and
{\bf IMPLEMENT
\_DYNAMIC\_CLASS}.
7 \wxheading{Derived from
}
13 \overview{Overview
}{wxclassinfooverview
}\\
14 \helpref{wxObject
}{wxobject
}
16 \latexignore{\rtfignore{\wxheading{Members
}}}
18 \membersection{wxClassInfo::wxClassInfo
}\label{wxclassinfoconstr
}
20 \func{}{wxClassInfo
}{\param{char*
}{className
},
\param{char*
}{baseClass1
},
\param{char*
}{baseClass2
},
21 \param{int
}{ size
},
\param{wxObjectConstructorFn
}{fn
}}
23 Constructs a wxClassInfo object. The supplied macros implicitly construct objects of this
24 class, so there is no need to create such objects explicitly in an application.
26 \membersection{wxClassInfo::CreateObject
}
28 \func{wxObject*
}{CreateObject
}{\void}
30 Creates an object of the appropriate kind. Returns NULL if the class has not been declared
31 dynamically createable (typically, it's an abstract class).
33 \membersection{wxClassInfo::FindClass
}
35 \func{static wxClassInfo *
}{FindClass
}{\param{char*
}{name
}}
37 Finds the wxClassInfo object for a class of the given string name.
39 \membersection{wxClassInfo::GetBaseClassName1
}
41 \constfunc{char*
}{GetBaseClassName1
}{\void}
43 Returns the name of the first base class (NULL if none).
45 \membersection{wxClassInfo::GetBaseClassName2
}
47 \constfunc{char*
}{GetBaseClassName2
}{\void}
49 Returns the name of the second base class (NULL if none).
51 \membersection{wxClassInfo::GetClassName
}
53 \constfunc{char *
}{GetClassName
}{\void}
55 Returns the string form of the class name.
57 \membersection{wxClassInfo::GetSize
}
59 \constfunc{int
}{GetSize
}{\void}
61 Returns the size of the class.
63 \membersection{wxClassInfo::InitializeClasses
}
65 \func{static void
}{InitializeClasses
}{\void}
67 Initializes pointers in the wxClassInfo objects for fast execution
68 of IsKindOf. Called in base wxWindows library initialization.
70 \membersection{wxClassInfo::IsKindOf
}\label{wxclassinfoiskindof
}
72 \func{bool
}{IsKindOf
}{\param{wxClassInfo*
}{info
}}
74 Returns TRUE if this class is a kind of (inherits from) the given class.