From caa354aa95ff5aecba733f29b9b0c23127806182 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Tue, 16 Aug 2016 08:36:36 +0100 Subject: [PATCH] codingStyleGuide: Corrected typos Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2193 --- doc/codingStyleGuide.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/codingStyleGuide.org b/doc/codingStyleGuide.org index e2254e144ef..2b1a0e0251f 100644 --- a/doc/codingStyleGuide.org +++ b/doc/codingStyleGuide.org @@ -138,7 +138,7 @@ + Use inline functions where appropriate in a separate /classNameI.H/ file. Avoid cluttering the header file with function bodies. -*** The /.C/ Sourcs Files +*** The /.C/ Source Files + Do not open/close namespaces in a /.C/ file + Fully scope the function name, i.e. #+begin_src C++ @@ -415,7 +415,7 @@ Doxygen has a large number of special commands with a =\= prefix. Since the filtering removes the leading spaces within the blocks, the - Doxygen commmands can be inserted within the block without problems. + Doxygen commands can be inserted within the block without problems. #+begin_example C++ InClass Foam::myClass @@ -452,7 +452,7 @@ unknown html type, but it seems to work okay anyhow. *** Documenting Namespaces - + If namespaces are explictly declared with the =Namespace()= macro, + + If namespaces are explicitly declared with the =Namespace()= macro, they should be documented there. + If the namespaces is used to hold sub-models, the namespace can be documented in the same file as the class with the model selector. -- GitLab