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/20 13:24:04 $
+ Version: $Revision: 1.80 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DicomDirPatient *GetFirstPatient();
DicomDirPatient *GetNextPatient();
-
+ /// returns the number of Patients currently held in the gdcm::DicomDir
+ int GetNumberOfPatients() { return Patients.size();}
+
// Parsing
void ParseDirectory();
Program: gdcm
Module: $RCSfile: gdcmDicomDirPatient.h,v $
Language: C++
- Date: $Date: 2007/07/26 08:36:49 $
- Version: $Revision: 1.32 $
+ Date: $Date: 2007/08/20 13:24:04 $
+ Version: $Revision: 1.33 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
void WriteContent(std::ofstream *fp, FileType t, bool insideMetaElements);
// Patient methods
- /// \brief Adds a new gdcmDicomDirStudy to the Patient
+ /// \brief Adds a new gdcm::DicomDirStudy to the Patient
void AddStudy(DicomDirStudy *obj) { Studies.push_back(obj); }
DicomDirStudy *NewStudy();
void ClearStudy();
DicomDirStudy *GetFirstStudy();
DicomDirStudy *GetNextStudy();
DicomDirStudy *GetLastStudy();
-
+ /// returns the number of Studies currently held in the gdcm::DicomDirPatient
+ int GetNumberOfStudies() { return Studies.size();}
virtual void Copy(DocEntrySet *set);
protected:
Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.h,v $
Language: C++
- Date: $Date: 2007/07/26 08:36:49 $
- Version: $Revision: 1.35 $
+ Date: $Date: 2007/08/20 13:24:04 $
+ Version: $Revision: 1.36 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DicomDirImage *GetFirstImage();
DicomDirImage *GetNextImage();
-
+ /// returns the number of Images currently held in the gdcm::DicomDirSerie
+ int GetNumberOfImages() { return Images.size();}
+
// 'Private' methods (For SIEMENS 'CSA non image')
DicomDirPrivate *NewPrivate();
/// Add a new gdcm::DicomDirPrivate to the Serie
DicomDirPrivate *GetFirstPrivate();
DicomDirPrivate *GetNextPrivate();
-
+ /// returns the number of 'Privates' currently held in the gdcm::DicomDirSerie
+ int GetNumberOfPrivates() { return Privates.size();}
virtual void Copy(DocEntrySet *set);
Program: gdcm
Module: $RCSfile: gdcmDicomDirStudy.h,v $
Language: C++
- Date: $Date: 2007/07/26 08:36:49 $
- Version: $Revision: 1.34 $
+ Date: $Date: 2007/08/20 13:24:04 $
+ Version: $Revision: 1.35 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
DicomDirSerie *GetFirstSerie();
DicomDirSerie *GetNextSerie();
DicomDirSerie *GetLastSerie();
-
+ /// returns the number of Series currently held in the gdcm::DicomDirStudy
+ int GetNumberOfSeries() { return Series.size();}
+
// 'Visit' methods
DicomDirVisit *NewVisit();
/// Adds a gdcm::DicomDirVisit to a gdcm::DicomDirStudy
DicomDirVisit *GetFirstVisit();
DicomDirVisit *GetNextVisit();
DicomDirVisit *GetLastVisit();
-
+ /// returns the number of Visit currently held in the gdcm::DicomDirStudy
+ int GetNumberOfVisits() { return Visits.size();}
+
// for future use (Full DICOMDIR)
/*
DicomDirResult *GetFirstResult();