]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirVisit.h
Fix mistypings
[gdcm.git] / src / gdcmDicomDirVisit.h
index 18337fba6bef6df16db79ad0614d5a15493f54c6..cf9ffb66d5df8a34ff8952d38396cac4c9d14124 100644 (file)
@@ -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
                                                                                 
 =========================================================================*/
 
-#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
 //-----------------------------------------------------------------------------