From 62860f80103d156291bfb6e8aaedef6dede7f490 Mon Sep 17 00:00:00 2001 From: malaterre Date: Wed, 12 Jan 2005 22:09:55 +0000 Subject: [PATCH] STYLE: Naming convention require a capital letter for member variable + the accessor was call GetDirName anyway --- src/gdcmDirList.cxx | 12 ++++++------ src/gdcmDirList.h | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gdcmDirList.cxx b/src/gdcmDirList.cxx index b7098a06..615d0b4d 100644 --- a/src/gdcmDirList.cxx +++ b/src/gdcmDirList.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDirList.cxx,v $ Language: C++ - Date: $Date: 2005/01/12 21:24:17 $ - Version: $Revision: 1.31 $ + Date: $Date: 2005/01/12 22:09:55 $ + Version: $Revision: 1.32 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -41,9 +41,9 @@ namespace gdcm */ DirList::DirList(std::string const &dirName, bool recursive) { - name = dirName; - Util::NormalizePath(name); - Explore(name, recursive); + DirName = dirName; + Util::NormalizePath(DirName); + Explore(DirName, recursive); } /** @@ -66,7 +66,7 @@ DirList::~DirList() */ std::string const &DirList::GetDirName() const { - return name; + return DirName; } //----------------------------------------------------------------------------- diff --git a/src/gdcmDirList.h b/src/gdcmDirList.h index 207522d0..526f94ac 100644 --- a/src/gdcmDirList.h +++ b/src/gdcmDirList.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDirList.h,v $ Language: C++ - Date: $Date: 2005/01/11 15:15:38 $ - Version: $Revision: 1.15 $ + Date: $Date: 2005/01/12 22:09:55 $ + Version: $Revision: 1.16 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -55,7 +55,7 @@ private : int Explore(std::string const &dirName, bool recursive=false); /// name of the root directory to explore - std::string name; + std::string DirName; }; } // end namespace gdcm //----------------------------------------------------------------------------- -- 2.48.1