From ddb78f96a68b3f3ba0eb014506521445533db630 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 29 Jan 2015 08:13:21 +0000 Subject: [PATCH] bin/tools/doxyFilter.sed: Add support for 2-line Class name: Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=252 --- bin/tools/doxyFilter.sed | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/bin/tools/doxyFilter.sed b/bin/tools/doxyFilter.sed index a0e6e4ff..084049a4 100644 --- a/bin/tools/doxyFilter.sed +++ b/bin/tools/doxyFilter.sed @@ -58,9 +58,19 @@ s/^ /\\relates / # => # \\class Foam::className # +# Class +# Foam::namespaceName:: +# className +# => +# \\class Foam::namespaceName::className +# /^Class *$/,/^[^ ]/{ -s/^Class *$// -s/^ /\\class / +N +/.*:: *$/{ +N +s/Class *\n *\(.*\) *\n *\(.*\) */\\class \1\2/ +} +s/Class *\n *\(.*\) */\\class \1/ }