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
=========================================================================*/
-#ifndef GDCMDICOMDIR_H
-#define GDCMDICOMDIR_H
+#ifndef _GDCMDICOMDIR_H_
+#define _GDCMDICOMDIR_H_
#include "gdcmDocument.h"
#include "gdcmDebug.h"
DicomDirPatient *GetFirstPatient();
DicomDirPatient *GetNextPatient();
-
+ /// returns the number of Patients currently held in the gdcm::DicomDir
+ int GetNumberOfPatients() { return Patients.size();}
+
// Parsing
void ParseDirectory();