]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Filter out classes in namespaces named 'internal' from the class overview, to keep...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Feb 2003 16:54:32 +0000 (16:54 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 Feb 2003 16:54:32 +0000 (16:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@7005 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/kdoc/src/kdocCxxHTML.pm

index dd90ff5f013368ed569121bcf5c2796ccf0c3837..4d6a6f080018dcbb2cffee66bcf47635305c74c4 100644 (file)
@@ -109,7 +109,18 @@ sub writeClassList
                # TODO: Perhaps display C-specific index.
        }
        else {
-               writeTable( *CLIST{IO}, \@clist, 
+           # write out the class list. suppress all classes that
+           # have a internal:: in their name, i.e. basically all
+           # classes that are either declared themselves in a 
+           # namespace or outer class "internal"
+           my @filtered_clist;
+           my $class;
+           foreach $class (@clist) {
+               if ( ! (refNameFull($class) =~ /internal::/ )) {
+                   @filtered_clist = (@filtered_clist, $class);
+               }
+           }
+           writeTable( *CLIST{IO}, \@filtered_clist, 
                        exists $opt->{"html-cols"} ? $opt->{"html-cols"} : 3 );
        }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.