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