X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirImage.h;h=86ae4e6356e9a42550c8a151d1afaa41bd1601fa;hb=6278320cc85da00d2d56ffbf07806e84966892c3;hp=2fc5738c847a7092386249e141b8b375a6f8109e;hpb=73235b749dd3cb7e3552e81f9398b17b9209efa4;p=gdcm.git diff --git a/src/gdcmDicomDirImage.h b/src/gdcmDicomDirImage.h index 2fc5738c..86ae4e63 100644 --- a/src/gdcmDicomDirImage.h +++ b/src/gdcmDicomDirImage.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirImage.h,v $ Language: C++ - Date: $Date: 2005/02/01 13:11:49 $ - Version: $Revision: 1.16 $ + Date: $Date: 2007/08/22 16:14:03 $ + Version: $Revision: 1.20 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,12 +16,12 @@ =========================================================================*/ -#ifndef GDCMDICOMIMAGE_H -#define GDCMDICOMIMAGE_H +#ifndef _GDCMDICOMIMAGE_H_ +#define _GDCMDICOMIMAGE_H_ #include "gdcmDicomDirObject.h" -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- /** @@ -30,11 +30,17 @@ namespace gdcm */ class GDCM_EXPORT DicomDirImage : public DicomDirObject { + gdcmTypeMacro(DicomDirImage); + public: - DicomDirImage(bool empty=false); - ~DicomDirImage(); +/// \brief Constructs a DicomDirImage with a RefCounter + static DicomDirImage *New(bool empty=false) {return new DicomDirImage(empty);} void Print(std::ostream &os = std::cout, std::string const &indent = "" ); + +protected: + DicomDirImage(bool empty=false); + ~DicomDirImage(); }; } // end namespace gdcm //-----------------------------------------------------------------------------