1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirObject.h,v $
6 Date: $Date: 2004/10/13 14:15:29 $
7 Version: $Revision: 1.5 $
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 #ifndef GDCMDICOMDIROBJECT_H
20 #define GDCMDICOMDIROBJECT_H
22 #include "gdcmSQItem.h"
23 #include "gdcmDicomDirElement.h"
31 //-----------------------------------------------------------------------------
33 typedef std::list<DicomDirObject *> ListContent;
35 //-----------------------------------------------------------------------------
37 * \ingroup DicomDirObject
40 class GDCM_EXPORT DicomDirObject : public SQItem
44 DicomDirObject(TagDocEntryHT *ptagHT, int depth = 0);
45 virtual ~DicomDirObject();
47 * \brief Sets the print level for the Dicom Header
48 * \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy
50 void SetPrintLevel(int level) { PrintLevel = level; };
52 TagDocEntryHT GetEntry();
53 void FillObject(ListDicomDirMetaElem elemList);
57 // Constructor and destructor are protected to avoid end user to
58 // instanciate from this class.
59 // NO ! DicomDir needs to instanciate it!
62 ///\brief detail level to be printed
65 } // end namespace gdcm
67 //-----------------------------------------------------------------------------