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 \helpref{Overview
}{wxclassinfooverview
},
\helpref{wxObject
}{wxobject
}
15 \latexignore{\rtfignore{\wxheading{Members
}}}
17 \membersection{wxClassInfo::wxClassInfo
}\label{wxclassinfoconstr
}
19 \func{}{wxClassInfo
}{\param{char*
}{className
},
\param{char*
}{baseClass1
},
\param{char*
}{baseClass2
},
20 \param{int
}{ size
},
\param{wxObjectConstructorFn
}{fn
}}
22 Constructs a wxClassInfo object. The supplied macros implicitly construct objects of this
23 class, so there is no need to create such objects explicitly in an application.
25 \membersection{wxClassInfo::CreateObject
}
27 \func{wxObject*
}{CreateObject
}{\void}
29 Creates an object of the appropriate kind. Returns NULL if the class has not been declared
30 dynamically createable (typically, it's an abstract class).
32 \membersection{wxClassInfo::FindClass
}
34 \func{static wxClassInfo *
}{FindClass
}{\param{char*
}{name
}}
36 Finds the wxClassInfo object for a class of the given string name.
38 \membersection{wxClassInfo::GetBaseClassName1
}
40 \constfunc{char*
}{GetBaseClassName1
}{\void}
42 Returns the name of the first base class (NULL if none).
44 \membersection{wxClassInfo::GetBaseClassName2
}
46 \constfunc{char*
}{GetBaseClassName2
}{\void}
48 Returns the name of the second base class (NULL if none).
50 \membersection{wxClassInfo::GetClassName
}
52 \constfunc{char *
}{GetClassName
}{\void}
54 Returns the string form of the class name.
56 \membersection{wxClassInfo::GetSize
}
58 \constfunc{int
}{GetSize
}{\void}
60 Returns the size of the class.
62 \membersection{wxClassInfo::InitializeClasses
}
64 \func{static void
}{InitializeClasses
}{\void}
66 Initializes pointers in the wxClassInfo objects for fast execution
67 of IsKindOf. Called in base wxWindows library initialization.
69 \membersection{wxClassInfo::IsKindOf
}\label{wxclassinfoiskindof
}
71 \func{bool
}{IsKindOf
}{\param{wxClassInfo*
}{info
}}
73 Returns TRUE if this class is a kind of (inherits from) the given class.