X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirSerie.h;fp=src%2FgdcmDicomDirSerie.h;h=ddbc51af4de9cd573b0b2615391d1c0550286552;hb=2410af81c71712957890eb38d9ecacc77adcd72e;hp=6a6fc7180da80575c378cafa79672872598d318f;hpb=672fdd02ec4d8f1fa7b15f438c96cbf3f52b64e6;p=gdcm.git diff --git a/src/gdcmDicomDirSerie.h b/src/gdcmDicomDirSerie.h index 6a6fc718..ddbc51af 100644 --- a/src/gdcmDicomDirSerie.h +++ b/src/gdcmDicomDirSerie.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirSerie.h,v $ Language: C++ - Date: $Date: 2005/11/29 12:48:46 $ - Version: $Revision: 1.32 $ + Date: $Date: 2007/03/23 15:30:15 $ + 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 @@ -24,9 +24,11 @@ namespace gdcm { class DicomDirImage; +class DicomDirPrivate; + //----------------------------------------------------------------------------- typedef std::list ListDicomDirImage; - +typedef std::list ListDicomDirPrivate; //----------------------------------------------------------------------------- /** * \brief describes a SERIE within a within a STUDY @@ -43,7 +45,7 @@ public: void Print( std::ostream &os = std::cout, std::string const &indent = "" ); void WriteContent( std::ofstream *fp, FileType t ); - // Image methods + // 'Image' methods DicomDirImage *NewImage(); /// Add a new gdcm::DicomDirImage to the Serie void AddImage(DicomDirImage *obj) { Images.push_back(obj); } @@ -52,6 +54,16 @@ public: DicomDirImage *GetFirstImage(); DicomDirImage *GetNextImage(); + // 'Private' methods (For SIEMENS 'CSA non image') + DicomDirPrivate *NewPrivate(); + /// Add a new gdcm::DicomDirPrivate to the Serie + void AddPrivate(DicomDirPrivate *obj) { Privates.push_back(obj); } + void ClearPrivate(); + + DicomDirPrivate *GetFirstPrivate(); + DicomDirPrivate *GetNextPrivate(); + + virtual void Copy(DocEntrySet *set); protected: @@ -64,19 +76,18 @@ private: /// iterator on the DicomDirImages of the current DicomDirSerie ListDicomDirImage::iterator ItImage; + ///chained list of DicomDirPrivates (to be exploited recursively) + ListDicomDirPrivate Privates; + /// iterator on the DicomDirPrivates of the current DicomDirSerie + ListDicomDirPrivate::iterator ItPrivate; /* -// for future use : +// for future use (Full DICOMDIR): /// chained list of DicomDirOverlays(single level) ListDicomDirOverlay Overlays; /// iterator on the DicomDirOverlays of the current DicomDirSerie ListDicomDirOverlay::iterator ItOverlay; - /// chained list of DicomDirModalityLuts(single level) - ListDicomDirModalityLut ModalityLuts; - /// iterator on the DicomDirModalityLuts of the current DicomDirSerie - ListDicomDirModalityLut::iterator ItModalityLut; - /// chained list of DicomDirModalityLuts(single level) ListDicomDirModalityLut ModalityLuts; /// iterator on the DicomDirModalityLuts of the current DicomDirSerie