From: jpr Date: Mon, 17 Oct 2005 09:54:20 +0000 (+0000) Subject: Don't use any longer deprecated method names X-Git-Tag: Version1.2.bp~11 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1723582aeb2f75f7a0f62d4091f26100fe95a635;p=gdcm.git Don't use any longer deprecated method names --- diff --git a/Example/exSerieHelper.cxx b/Example/exSerieHelper.cxx index 8a1de409..4873a72d 100644 --- a/Example/exSerieHelper.cxx +++ b/Example/exSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2005/08/30 15:13:06 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/10/17 09:54:20 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -52,8 +52,8 @@ int main(int argc, char *argv[]) << std::endl; int nbFiles; - // For all the Coherent Files lists of the gdcm::Serie - gdcm::FileList *l = s->GetFirstCoherentFileList(); + // For all the Single SerieUID Files Sets of the gdcm::Serie + gdcm::FileList *l = s->GetFirstSingleSerieUIDFileSet(); while (l) { nbFiles = l->size() ; @@ -62,11 +62,11 @@ int main(int argc, char *argv[]) std::cout << "Sort list : " << nbFiles << " long" << std::endl; s->OrderFileList(l); // sort the list } - l = s->GetNextCoherentFileList(); + l = s->GetNextSingleSerieUIDFileSet(); } std::cout << " -------------------------------------------- Finish sorting" << std::endl; - s->Print(); // Prints all the Coherent Files lists (sorted or not) + s->Print(); // Prints all the Single SerieUID File Sets (sorted or not) std::cout << " -------------------------------------------- Finish printing" << std::endl; @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) // Display all the file names std::string fileName; - l = s->GetFirstCoherentFileList(); + l = s->GetFirstSingleSerieUIDFileSet(); for (std::vector::iterator it = l->begin(); it != l->end(); ++it) diff --git a/Testing/TestSerieHelper.cxx b/Testing/TestSerieHelper.cxx index f3a101a0..800a0c17 100644 --- a/Testing/TestSerieHelper.cxx +++ b/Testing/TestSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2005/08/30 15:13:07 $ - Version: $Revision: 1.8 $ + Date: $Date: 2005/10/17 09:55:36 $ + Version: $Revision: 1.9 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -51,8 +51,8 @@ int TestSerieHelper(int argc, char *argv[]) << std::endl; int nbFiles; - // For all the Coherent Files lists of the gdcm::Serie - gdcm::FileList *l = s->GetFirstCoherentFileList(); + // For all the SingleSerieUID filesets of the gdcm::Serie + gdcm::FileList *l = s->GetFirstSingleSerieUIDFileSet(); while (l) { nbFiles = l->size() ; @@ -61,21 +61,21 @@ int TestSerieHelper(int argc, char *argv[]) std::cout << "Sort list : " << nbFiles << " long" << std::endl; s->OrderFileList(l); // sort the list } - l = s->GetNextCoherentFileList(); + l = s->GetNextSingleSerieUIDFileSet(); } std::cout << " -------------------------------------------- Finish sorting" << std::endl; - s->Print(); // Prints all the Coherent Files lists (sorted or not) + s->Print(); // Prints all the SingleSerieUID filesets (sorted or not) std::cout << " -------------------------------------------- Finish printing" << std::endl; - // Only for the first Coherent File List + // Only for the first SingleSerieUID fileset // ( Why not ? Just an example, for testing ) // Display all the file names std::string fileName; - l = s->GetFirstCoherentFileList(); + l = s->GetFirstSingleSerieUIDFileSet(); for (std::vector::iterator it = l->begin(); it != l->end(); ++it)