wxClassInfoThis 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 DECLARE_DYNAMIC_CLASS and IMPLEMENT_DYNAMIC_CLASS. Derived from No parent class. Include files <wx/object.h> See also Members
wxClassInfo::wxClassInfo
wxClassInfo::wxClassInfowxClassInfo(const wxChar * className, const wxClassInfo * baseClass1, const wxClassInfo * baseClass2, int size, 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.
wxClassInfo::CreateObjectwxObject* CreateObject() const Creates an object of the appropriate kind. Returns NULL if the class has not been declared dynamically creatable (typically, it is an abstract class).
wxClassInfo::FindClassstatic wxClassInfo * FindClass(wxChar * name) Finds the wxClassInfo object for a class of the given string name.
wxClassInfo::GetBaseClassName1wxChar * GetBaseClassName1() const Returns the name of the first base class (NULL if none).
wxClassInfo::GetBaseClassName2wxChar * GetBaseClassName2() const Returns the name of the second base class (NULL if none).
wxClassInfo::GetClassNamewxChar * GetClassName() const Returns the string form of the class name.
wxClassInfo::GetSizeint GetSize() const Returns the size of the class.
wxClassInfo::InitializeClassesstatic void InitializeClasses() Initializes pointers in the wxClassInfo objects for fast execution of IsKindOf. Called in base wxWidgets library initialization.
wxClassInfo::IsDynamicbool IsDynamic() const Returns true if this class info can create objects of the associated class.
wxClassInfo::IsKindOfbool IsKindOf(wxClassInfo* info) Returns true if this class is a kind of (inherits from) the given class.
|