]> git.saurik.com Git - wxWidgets.git/commitdiff
output the list of the undocumented wx classes
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 14 Oct 2008 20:08:11 +0000 (20:08 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Tue, 14 Oct 2008 20:08:11 +0000 (20:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/ifacecheck/src/ifacecheck.cpp

index 0d9b49b1b743f990e954e3b80b3a7f4fdafca0ef..2a07c143a64ee81cec3e757e3206976e492056a2 100644 (file)
@@ -617,6 +617,22 @@ void IfaceCheckApp::PrintStatistics(long secs)
                m_gccInterface.GetClassesCount(), m_gccInterface.GetMethodCount());
     LogMessage("wx interface headers contains declaration of %d classes (%d methods)",
                m_doxyInterface.GetClassesCount(), m_doxyInterface.GetMethodCount());
+
+    // build a list of the undocumented wx classes
+    wxString list;
+    int undoc = 0;
+    const wxClassArray& arr = m_gccInterface.GetClasses();
+    for (unsigned int i=0; i<arr.GetCount(); i++) {
+        if (m_doxyInterface.FindClass(arr[i].GetName()) == NULL) {
+            list += arr[i].GetName() + ", ";
+            undoc++;
+        }
+    }
+
+    list.RemoveLast();
+    list.RemoveLast();
+
+    LogMessage("the list of the %d undocumented wx classes is: %s", undoc, list);
     LogMessage("total processing took %d seconds.", secs);
 }