/*========================================================================= Program: gdcm Module: $RCSfile: gdcmDicomDirObject.h,v $ Language: C++ Date: $Date: 2005/01/11 15:15:38 $ Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #ifndef GDCMDICOMDIROBJECT_H #define GDCMDICOMDIROBJECT_H #include "gdcmSQItem.h" #include "gdcmDicomDirElement.h" #include #include namespace gdcm { //----------------------------------------------------------------------------- class DicomDirObject; //----------------------------------------------------------------------------- /** * \ingroup DicomDirObject * \brief Parent object for DicomDirPatient, DicomDirStudy, * DicomDirSerie, DicomDirImage, of a DicomDir */ class GDCM_EXPORT DicomDirObject : public SQItem { typedef std::list ListContent; public: TagDocEntryHT GetEntryHT(); void FillObject(ListDicomDirMetaElem const &elemList); protected: // Constructor and destructor are protected to avoid end user to // instanciate from this class. // NO ! DicomDir needs to instanciate it! DicomDirObject(int depth = 1); ~DicomDirObject(); }; } // end namespace gdcm //----------------------------------------------------------------------------- #endif