X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirVisit.h;h=580eb705c3b206b2cf38344ee60cf4960d03f924;hb=ffaf0119eb35e6a5b8460036fbaf6fa7e701e0cc;hp=18337fba6bef6df16db79ad0614d5a15493f54c6;hpb=6ae0c7b2171502cfc859786a4380efa7bcabcb2f;p=gdcm.git diff --git a/src/gdcmDicomDirVisit.h b/src/gdcmDicomDirVisit.h index 18337fba..580eb705 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: 2005/11/21 09:46:25 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -30,13 +30,18 @@ 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 //-----------------------------------------------------------------------------