00001 /*========================================================================= 00002 00003 Program: gdcm 00004 Module: $RCSfile: gdcmDicomDirPrivate.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007/08/22 16:14:03 $ 00007 Version: $Revision: 1.3 $ 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 _GDCMDICOMDIRPRIVATE_H_ 00020 #define _GDCMDICOMDIRPRIVATE_H_ 00021 00022 #include "gdcmDicomDirObject.h" 00023 00024 namespace GDCM_NAME_SPACE 00025 { 00026 00031 class GDCM_EXPORT DicomDirPrivate : public DicomDirObject 00032 { 00033 gdcmTypeMacro(DicomDirPrivate); 00034 00035 public: 00037 static DicomDirPrivate *New(bool empty=false) {return new DicomDirPrivate(empty);} 00038 00039 void Print( std::ostream &os = std::cout, std::string const &indent = "" ); 00040 // void WriteContent( std::ofstream *fp, FileType t ); 00041 00042 protected: 00043 DicomDirPrivate(bool empty=false); 00044 ~DicomDirPrivate(); 00045 }; 00046 } // end namespace gdcm 00047 //----------------------------------------------------------------------------- 00048 #endif