1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirObject.h,v $
6 Date: $Date: 2004/10/07 21:05:40 $
7 Version: $Revision: 1.3 $
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 =========================================================================*/
22 #include "gdcmCommon.h"
23 #include "gdcmDocEntry.h"
24 #include "gdcmDocument.h"
25 #include "gdcmDicomDirElement.h"
26 #include "gdcmSQItem.h"
30 //-----------------------------------------------------------------------------
31 class gdcmDicomDirObject;
32 typedef std::list<gdcmDicomDirObject *> ListContent;
34 //-----------------------------------------------------------------------------
36 * \ingroup gdcmDicomDirObject
39 class GDCM_EXPORT gdcmDicomDirObject : public gdcmSQItem
43 gdcmDicomDirObject(TagDocEntryHT *ptagHT, int depth = 0);
44 virtual ~gdcmDicomDirObject();
46 * \brief Sets the print level for the Dicom Header
47 * \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy
49 void SetPrintLevel(int level) { PrintLevel = level; };
51 TagDocEntryHT GetEntry();
52 void FillObject(std::list<gdcmElement> elemList);
56 // Constructor and destructor are protected to avoid end user to
57 // instanciate from this class.
58 // NO ! gdcmDicomDir needs to instanciate it!
61 ///\brief detail level to be printed
65 //-----------------------------------------------------------------------------