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