X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirVisit.h;h=cf9ffb66d5df8a34ff8952d38396cac4c9d14124;hb=76ac46b16fd92d0fb444f786d4946424d9029315;hp=18337fba6bef6df16db79ad0614d5a15493f54c6;hpb=6ae0c7b2171502cfc859786a4380efa7bcabcb2f;p=gdcm.git diff --git a/src/gdcmDicomDirVisit.h b/src/gdcmDicomDirVisit.h index 18337fba..cf9ffb66 100644 --- a/src/gdcmDicomDirVisit.h +++ b/src/gdcmDicomDirVisit.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirVisit.h,v $ Language: C++ - Date: $Date: 2005/07/08 19:07:12 $ - Version: $Revision: 1.1 $ + Date: $Date: 2007/08/22 16:14:03 $ + Version: $Revision: 1.6 $ 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 GDCMDICOMDIRVISIT_H -#define GDCMDICOMDIRVISIT_H +#ifndef _GDCMDICOMDIRVISIT_H_ +#define _GDCMDICOMDIRVISIT_H_ #include "gdcmDicomDirObject.h" -namespace gdcm +namespace GDCM_NAME_SPACE { /** @@ -30,13 +30,17 @@ namespace gdcm */ class GDCM_EXPORT DicomDirVisit : public DicomDirObject { + gdcmTypeMacro(DicomDirVisit); + public: - DicomDirVisit(bool empty=false); - ~DicomDirVisit(); +/// \brief Constructs a DicomDirVisit with a RefCounter + static DicomDirVisit *New(bool empty=false) {return new DicomDirVisit(empty);} void Print( std::ostream &os = std::cout, std::string const &indent = "" ); - // void WriteContent( std::ofstream *fp, FileType t ); +protected: + DicomDirVisit(bool empty=false); + ~DicomDirVisit(); }; } // end namespace gdcm //-----------------------------------------------------------------------------