////////////////////////////////////////////////
// Convert a DocEntry * to the real derived class
-%typemap(out) gdcm::DocEntry *
+%typemap(out) gdcm::DocEntry *
{
PyObject *newEntry;
Program: gdcm
Module: $RCSfile: gdcmMacro.h,v $
Language: C++
- Date: $Date: 2006/05/11 19:49:38 $
- Version: $Revision: 1.5 $
+ Date: $Date: 2006/05/23 14:16:08 $
+ 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
//Example usage:
//
// // @deprecated Replaced by MyOtherMethod() as of gdcm 2.0.
-// GDCM_LEGACY(void MyMethod());
+// GDCM_LEGACY(void MyMethod())
#if defined(GDCM_LEGACY_REMOVE)
// Remove legacy methods completely.
# define GDCM_LEGACY(method)
-#elif defined(GDCM_LEGACY_SILENT) || defined(SWIG)
+#elif defined(GDCM_LEGACY_SILENT)
// Provide legacy methods with no warnings.
# define GDCM_LEGACY(method) method;
#else
Program: gdcm
Module: $RCSfile: gdcmSerieHelper.cxx,v $
Language: C++
- Date: $Date: 2006/04/11 16:03:26 $
- Version: $Revision: 1.51 $
+ Date: $Date: 2006/05/23 14:16:08 $
+ Version: $Revision: 1.52 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::sort(fileList->begin(), fileList->end(), pt2Func );
}
+#ifndef GDCM_LEGACY_REMOVE
+bool SerieHelper::AddGdcmFile(File* header)
+{
+ return AddFile(header);
+}
+#endif
+
+
//-----------------------------------------------------------------------------
} // end namespace gdcm
Program: gdcm
Module: $RCSfile: gdcmSerieHelper.h,v $
Language: C++
- Date: $Date: 2006/05/11 19:49:38 $
- Version: $Revision: 1.39 $
+ Date: $Date: 2006/05/23 14:16:08 $
+ Version: $Revision: 1.40 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// \todo should return bool or throw error ?
void AddFileName(std::string const &filename);
bool AddFile(File *header);
-#ifndef GDCM_LEGACY_REMOVE
- bool AddGdcmFile(File* header) { return AddFile(header); }
-#endif
+ GDCM_LEGACY(bool AddGdcmFile(File* header))
void SetDirectory(std::string const &dir, bool recursive=false);
bool IsCoherent(FileList *fileSet);