1 /*=========================================================================
4 Module: $RCSfile: gdcmDicomDirObject.h,v $
6 Date: $Date: 2007/08/22 16:14:03 $
7 Version: $Revision: 1.20 $
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"
28 namespace GDCM_NAME_SPACE
30 //-----------------------------------------------------------------------------
33 //-----------------------------------------------------------------------------
34 typedef std::list<DicomDirObject *> ListContent;
35 //-----------------------------------------------------------------------------
37 * \brief Parent object for DicomDirPatient, DicomDirStudy,
38 * DicomDirSerie, DicomDirImage, of a DicomDir
40 class GDCM_EXPORT DicomDirObject : public SQItem
42 gdcmTypeMacro(DicomDirObject);
47 // Constructor and destructor are protected to avoid end user to
48 // instanciate from this class.
49 DicomDirObject(int depth = 1);
52 void FillObject(ListDicomDirMetaElem const &elemList);
55 } // end namespace gdcm
57 //-----------------------------------------------------------------------------