00001 /*========================================================================= 00002 00003 Program: gdcm 00004 Module: $RCSfile: gdcmDicomDirObject.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007/08/22 16:14:03 $ 00007 Version: $Revision: 1.20 $ 00008 00009 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de 00010 l'Image). All rights reserved. See Doc/License.txt or 00011 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. 00012 00013 This software is distributed WITHOUT ANY WARRANTY; without even 00014 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00015 PURPOSE. See the above copyright notices for more information. 00016 00017 =========================================================================*/ 00018 00019 #ifndef _GDCMDICOMDIROBJECT_H_ 00020 #define _GDCMDICOMDIROBJECT_H_ 00021 00022 #include "gdcmSQItem.h" 00023 #include "gdcmDicomDirElement.h" 00024 00025 #include <string> 00026 #include <list> 00027 00028 namespace GDCM_NAME_SPACE 00029 { 00030 //----------------------------------------------------------------------------- 00031 class DicomDirObject; 00032 00033 //----------------------------------------------------------------------------- 00034 typedef std::list<DicomDirObject *> ListContent; 00035 //----------------------------------------------------------------------------- 00040 class GDCM_EXPORT DicomDirObject : public SQItem 00041 { 00042 gdcmTypeMacro(DicomDirObject); 00043 00044 public: 00045 00046 protected: 00047 // Constructor and destructor are protected to avoid end user to 00048 // instanciate from this class. 00049 DicomDirObject(int depth = 1); 00050 ~DicomDirObject(); 00051 00052 void FillObject(ListDicomDirMetaElem const &elemList); 00053 00054 }; 00055 } // end namespace gdcm 00056 00057 //----------------------------------------------------------------------------- 00058 #endif