X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDir.h;h=eb2ac4d7a38a5ac17ea6744353145470c14d9c48;hb=d93bdc3a545dc713354ab0c8ad9558ee11dfe0e9;hp=ebe30795bcf604c5b1a04c4e90dfa80ddb1b53c6;hpb=8fd45dc6d321d1419854dc0e4fa6a37d6826b655;p=gdcm.git diff --git a/src/gdcmDicomDir.h b/src/gdcmDicomDir.h index ebe30795..eb2ac4d7 100644 --- a/src/gdcmDicomDir.h +++ b/src/gdcmDicomDir.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDir.h,v $ Language: C++ - Date: $Date: 2007/05/23 14:18:08 $ - Version: $Revision: 1.79 $ + Date: $Date: 2007/09/17 12:16:02 $ + Version: $Revision: 1.82 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,8 +16,8 @@ =========================================================================*/ -#ifndef GDCMDICOMDIR_H -#define GDCMDICOMDIR_H +#ifndef _GDCMDICOMDIR_H_ +#define _GDCMDICOMDIR_H_ #include "gdcmDocument.h" #include "gdcmDebug.h" @@ -69,7 +69,7 @@ public: void SetDirectoryName(std::string const &dirName) { ParseDir = true; if (Filename != dirName) Filename = dirName, IsDocumentModified = true;} - /// Accessor to \ref Filename + /// Accessor to Filename virtual void SetFileName(std::string const &fileName) { ParseDir = false; if (Filename != fileName) Filename = fileName, IsDocumentModified = true;} @@ -88,7 +88,9 @@ public: DicomDirPatient *GetFirstPatient(); DicomDirPatient *GetNextPatient(); - + /// returns the number of Patients currently held in the gdcm::DicomDir + int GetNumberOfPatients() { return Patients.size();} + // Parsing void ParseDirectory();