1 /*=========================================================================
4 Module: $RCSfile: gdcmObject.h,v $
6 Date: $Date: 2004/06/20 18:08:48 $
7 Version: $Revision: 1.17 $
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.htm 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 =========================================================================*/
24 #include "gdcmCommon.h"
25 #include "gdcmDocEntry.h"
26 #include "gdcmDocument.h"
27 #include "gdcmDicomDirElement.h"
28 #include "gdcmSQItem.h"
30 //-----------------------------------------------------------------------------
32 typedef std::list<gdcmObject *> ListContent;
34 //-----------------------------------------------------------------------------
39 class GDCM_EXPORT gdcmObject : public gdcmSQItem
44 * \brief Sets the print level for the Dicom Header
45 * \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy
47 void SetPrintLevel(int level)
48 { printLevel = level; };
50 TagDocEntryHT GetEntry(void);
51 void FillObject(std::list<gdcmElement> elemList);
55 // Constructor and destructor are protected to avoid end user to
56 // instanciate from this class.
57 gdcmObject(TagDocEntryHT *ptagHT, int depth = 0);
58 virtual ~gdcmObject(void);
61 ///\brief detail level to be printed
67 //-----------------------------------------------------------------------------