1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirImage.cxx,v $
6 Date: $Date: 2005/01/06 15:43:18 $
7 Version: $Revision: 1.15 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
19 #include "gdcmDicomDirImage.h"
20 #include "gdcmValEntry.h"
24 //-----------------------------------------------------------------------------
25 // Constructor / Destructor
27 * \ingroup DicomDirImage
30 DicomDirImage::DicomDirImage():
35 * \ingroup DicomDirImage
36 * \brief Canonical destructor.
38 DicomDirImage::~DicomDirImage()
42 //-----------------------------------------------------------------------------
45 * \ingroup DicomDirImage
46 * \brief Prints the Object
49 void DicomDirImage::Print(std::ostream &os)
52 for(ListDocEntry::iterator i = DocEntries.begin();
56 if( (*i)->GetGroup() == 0x0004 && (*i)->GetElement() == 0x1500 )
58 os << ((ValEntry *)(*i))->GetValue(); //FIXME
63 DicomDirObject::Print(os);
66 //-----------------------------------------------------------------------------
69 //-----------------------------------------------------------------------------
72 //-----------------------------------------------------------------------------
75 //-----------------------------------------------------------------------------
76 } // end namespace gdcm