From 7a98bd46305c2744217bea3c2f5f5d91c67ed821 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Tue, 13 Jan 2009 10:12:05 +0800 Subject: [PATCH] STYLE: namespace --- Code/Learning/otbModelComponentBase.txx | 6 ++++-- Code/Learning/otbSOMClassifier.h | 3 ++- Code/Learning/otbSOMClassifier.txx | 3 ++- Code/Learning/otbSVMClassifier.h | 3 ++- Code/Learning/otbSVMClassifier.txx | 3 ++- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Code/Learning/otbModelComponentBase.txx b/Code/Learning/otbModelComponentBase.txx index 9324eca29b..f734c47d2e 100644 --- a/Code/Learning/otbModelComponentBase.txx +++ b/Code/Learning/otbModelComponentBase.txx @@ -26,8 +26,10 @@ #include "otbMacro.h" #include "otbModelComponentBase.h" -namespace otb{ -namespace Statistics{ +namespace otb +{ +namespace Statistics +{ template< class TSample > ModelComponentBase< TSample > diff --git a/Code/Learning/otbSOMClassifier.h b/Code/Learning/otbSOMClassifier.h index 931e3cd645..c34104c718 100644 --- a/Code/Learning/otbSOMClassifier.h +++ b/Code/Learning/otbSOMClassifier.h @@ -21,7 +21,8 @@ #include "itkProcessObject.h" #include "itkMembershipSample.h" -namespace otb{ +namespace otb +{ /** \class SOMClassifier * \brief This class implements a SOM-Based classifier. diff --git a/Code/Learning/otbSOMClassifier.txx b/Code/Learning/otbSOMClassifier.txx index 6caac331fd..b2cc5bb8a0 100644 --- a/Code/Learning/otbSOMClassifier.txx +++ b/Code/Learning/otbSOMClassifier.txx @@ -21,7 +21,8 @@ #include "otbSOMClassifier.h" #include "otbMacro.h" -namespace otb{ +namespace otb +{ /** * Constructor */ diff --git a/Code/Learning/otbSVMClassifier.h b/Code/Learning/otbSVMClassifier.h index 97382233a6..3b9989e863 100644 --- a/Code/Learning/otbSVMClassifier.h +++ b/Code/Learning/otbSVMClassifier.h @@ -22,7 +22,8 @@ #include "otbSVMModel.h" #include "itkVectorImage.h" -namespace otb{ +namespace otb +{ /** \class SVMClassifier * \brief SVM-based classifier diff --git a/Code/Learning/otbSVMClassifier.txx b/Code/Learning/otbSVMClassifier.txx index 9986ba18ea..b869748998 100644 --- a/Code/Learning/otbSVMClassifier.txx +++ b/Code/Learning/otbSVMClassifier.txx @@ -21,7 +21,8 @@ PURPOSE. See the above copyright notices for more information. #include "otbSVMClassifier.h" #include "otbMacro.h" -namespace otb{ +namespace otb +{ template< class TSample, class TLabel > SVMClassifier< TSample, TLabel > -- GitLab