X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..097119648b492237f16acdf484eff8900c7c94d2:/docs/latex/wx/clasinfo.tex diff --git a/docs/latex/wx/clasinfo.tex b/docs/latex/wx/clasinfo.tex index 66388d2d19..bf9a4aef4d 100644 --- a/docs/latex/wx/clasinfo.tex +++ b/docs/latex/wx/clasinfo.tex @@ -8,69 +8,82 @@ of macros such as {\bf DECLARE\_DYNAMIC\_CLASS} and {\bf IMPLEMENT\_DYNAMIC\_CLA No parent class. +\wxheading{Include files} + + + +\wxheading{Library} + +\helpref{wxBase}{librarieslist} + \wxheading{See also} -\overview{Overview}{wxclassinfooverview}\\ -\helpref{wxObject}{wxobject} +\helpref{Overview}{wxclassinfooverview}, \helpref{wxObject}{wxobject} \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxClassInfo::wxClassInfo}\label{wxclassinfoconstr} +\membersection{wxClassInfo::wxClassInfo}\label{wxclassinfoctor} -\func{}{wxClassInfo}{\param{char* }{className}, \param{char* }{baseClass1}, \param{char* }{baseClass2}, +\func{}{wxClassInfo}{\param{const wxChar * }{className}, \param{const wxClassInfo * }{baseClass1}, \param{const wxClassInfo * }{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} +\membersection{wxClassInfo::CreateObject}\label{wxclassinfocreateobject} -\func{wxObject*}{CreateObject}{\void} +\constfunc{wxObject*}{CreateObject}{\void} Creates an object of the appropriate kind. Returns NULL if the class has not been declared -dynamically createable (typically, it's an abstract class). +dynamically creatable (typically, it is an abstract class). -\membersection{wxClassInfo::FindClass} +\membersection{wxClassInfo::FindClass}\label{wxclassinfofindclass} -\func{static wxClassInfo *}{FindClass}{\param{char* }{name}} +\func{static wxClassInfo *}{FindClass}{\param{wxChar * }{name}} Finds the wxClassInfo object for a class of the given string name. -\membersection{wxClassInfo::GetBaseClassName1} +\membersection{wxClassInfo::GetBaseClassName1}\label{wxclassinfogetbaseclassname1} -\constfunc{char*}{GetBaseClassName1}{\void} +\constfunc{wxChar *}{GetBaseClassName1}{\void} Returns the name of the first base class (NULL if none). -\membersection{wxClassInfo::GetBaseClassName2} +\membersection{wxClassInfo::GetBaseClassName2}\label{wxclassinfogetbaseclassname2} -\constfunc{char*}{GetBaseClassName2}{\void} +\constfunc{wxChar *}{GetBaseClassName2}{\void} Returns the name of the second base class (NULL if none). -\membersection{wxClassInfo::GetClassName} +\membersection{wxClassInfo::GetClassName}\label{wxclassinfogetclassname} -\constfunc{char *}{GetClassName}{\void} +\constfunc{wxChar *}{GetClassName}{\void} Returns the string form of the class name. -\membersection{wxClassInfo::GetSize} +\membersection{wxClassInfo::GetSize}\label{wxclassinfogetsize} \constfunc{int}{GetSize}{\void} Returns the size of the class. -\membersection{wxClassInfo::InitializeClasses} +\membersection{wxClassInfo::InitializeClasses}\label{wxclassinfoinitializeclasses} \func{static void}{InitializeClasses}{\void} Initializes pointers in the wxClassInfo objects for fast execution -of IsKindOf. Called in base wxWindows library initialization. +of IsKindOf. Called in base wxWidgets library initialization. + +\membersection{wxClassInfo::IsDynamic}\label{wxclassinfoisdynamic} + +\constfunc{bool}{IsDynamic}{\void} + +Returns true if this class info can create objects of the associated class. \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. +Returns true if this class is a kind of (inherits from) the given class.