X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDir.h;h=9fcce6802f278193cacc45fd3a07430f7a4fa7b0;hb=ef0e08814ac95a5412e8650112e23add221767d1;hp=ebe30795bcf604c5b1a04c4e90dfa80ddb1b53c6;hpb=8fd45dc6d321d1419854dc0e4fa6a37d6826b655;p=gdcm.git diff --git a/src/gdcmDicomDir.h b/src/gdcmDicomDir.h index ebe30795..9fcce680 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/08/22 16:14:03 $ + Version: $Revision: 1.81 $ 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" @@ -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();