]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDir.cxx
COMP: Fix comp on weird os
[gdcm.git] / src / gdcmDicomDir.cxx
index 3fdd9f9bdeaf68aee26f4e9407c2de2aaed72f44..27cbd3ea38ddb25d9b2b016a9fcb3525b6cd61a0 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDir.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/11/06 01:38:02 $
-  Version:   $Revision: 1.171 $
+  Date:      $Date: 2005/11/21 09:46:25 $
+  Version:   $Revision: 1.173 $
   
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -159,32 +159,6 @@ bool DicomDir::Load( )
    return DoTheLoadingJob( );   
 }
 
-#ifndef GDCM_LEGACY_REMOVE
-/* *
- * \ brief   Loader. (DEPRECATED : kept not to break the API)
- * @ param   fileName file to be open for parsing
- * @ return false if file cannot be open or no swap info was found,
- *         or no tag was found.
- * @ deprecated use SetFileName(n) + Load() instead
- */
-bool DicomDir::Load(std::string const &fileName ) 
-{
-   SetFileName(fileName);
-   return Load();
-}
-
-/// DEPRECATED : use SetDirectoryName(dname) instead
-/* *
- * \brief   Loader. (DEPRECATED : kept not to break the API)
- * @param   paseDir Parse Dir
- * @deprecated use SetDirectoryName(dname) instead
- */
-void DicomDir::SetParseDir(bool parseDir)
-{
-   ParseDir = parseDir;
-}
-#endif
-
 /**
  * \brief   Does the Loading Job (internal use only)
  * @return false if file cannot be open or no swap info was found,
@@ -1133,6 +1107,7 @@ void DicomDir::SetElement(std::string const &path, DicomDirType type,
             val = it->Value;
       }
 
+/* FIX later the pb of creating the 'Implementation Version Name'!
 
       if (val == GDCM_UNFOUND)
          val = "";
@@ -1143,7 +1118,7 @@ void DicomDir::SetElement(std::string const &path, DicomDirType type,
          std::string val = "GDCM ";
          val += Util::GetVersion();
       }
+*/ 
       entry->SetString( val ); // troubles expected when vr=SQ ...
 
       if ( type == GDCM_DICOMDIR_META ) // fusible : should never print !