Program: gdcm
Module: $RCSfile: gdcmDicomDirStudy.h,v $
Language: C++
- Date: $Date: 2005/01/11 15:15:38 $
- Version: $Revision: 1.16 $
+ Date: $Date: 2005/01/17 10:59:52 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
/**
- * \ingroup DicomDirStudy
* \brief describes a STUDY within a within a PATIENT
* (DicomDirPatient) of a given DICOMDIR (DicomDir)
*/
DicomDirStudy();
~DicomDirStudy();
- void Print(std::ostream &os = std::cout);
+ void Print(std::ostream &os = std::cout, std::string const & indent = "" );
void WriteContent(std::ofstream *fp, FileType t);
- /**
- * \ingroup DicomDirStudy
- * \brief returns the SERIE chained List for this STUDY.
- */
+ // TODO Remove GetDicomDirSeries
+ // use InitTraversal + GetNextEntry instead.
+
+ /// Returns the SERIE chained List for this STUDY.
ListDicomDirSerie const &GetDicomDirSeries() const { return Series; };
- /**
- * \ingroup DicomDirStudy
- * \brief adds the passed SERIE to the SERIE chained List for this STUDY.
- */
+ // should avoid exposing internal mechanism
+ void InitTraversal();
+ DicomDirSerie *GetNextEntry();
+
+ /// adds the passed SERIE to the SERIE chained List for this STUDY.
void AddDicomDirSerie(DicomDirSerie *obj) { Series.push_back(obj); };
- /**
- * \ingroup DicomDirStudy
- * \brief TODO
- */
DicomDirSerie* NewSerie();
private:
-/**
-* \brief chained list of DicomDirSeries (to be exploited recursively)
-*/
+
+ /// chained list of DicomDirSeries (to be exploited recursively)
ListDicomDirSerie Series;
+ /// iterator on the DicomDirSeries of the current DicomDirStudy
+ ListDicomDirSerie::iterator ItDicomDirSerie;
+
};
} // end namespace gdcm