Program: gdcm
Module: $RCSfile: gdcmDicomDir.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.45 $
+ Date: $Date: 2005/01/18 07:53:42 $
+ Version: $Revision: 1.48 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
~DicomDir();
/// \brief canonical Printer
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
/// Informations contained in the parser
virtual bool IsReadable();
/// Returns a pointer to the DicomDirMeta for this DICOMDIR.
DicomDirMeta* GetDicomDirMeta() { return MetaElems; };
- /// Returns the PATIENT chained List for this DICOMDIR.
- ListDicomDirPatient const & GetDicomDirPatients() const { return Patients; };
+ // should avoid exposing internal mechanism
+ DicomDirPatient *GetFirstEntry();
+ DicomDirPatient *GetNextEntry();
/// Parsing
void ParseDirectory();
/// Pointer on *the* DicomDirObject 'DicomDirMeta Elements'
DicomDirMeta* MetaElems;
+ ListDicomDirPatient::iterator ItDicomDirPatient;
/// Chained list of DicomDirPatient (to be exploited recursively)
ListDicomDirPatient Patients;