From e2142d7caa7b5e01b346459285016e87121d7ef2 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 3 Feb 2003 16:54:32 +0000 Subject: [PATCH] Filter out classes in namespaces named 'internal' from the class overview, to keep it short. git-svn-id: https://svn.dealii.org/trunk@7005 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/contrib/kdoc/src/kdocCxxHTML.pm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/deal.II/contrib/kdoc/src/kdocCxxHTML.pm b/deal.II/contrib/kdoc/src/kdocCxxHTML.pm index dd90ff5f01..4d6a6f0800 100644 --- a/deal.II/contrib/kdoc/src/kdocCxxHTML.pm +++ b/deal.II/contrib/kdoc/src/kdocCxxHTML.pm @@ -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 ); } -- 2.39.5