From: malaterre Date: Tue, 8 Nov 2005 16:40:02 +0000 (+0000) Subject: ENH: update comment to reflect API change X-Git-Tag: OpenJPEG.Version1.2~9 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1f4b804082d56e199031a5380165eff84750f8a8;p=gdcm.git ENH: update comment to reflect API change --- diff --git a/Example/exSerieHelper.cxx b/Example/exSerieHelper.cxx index 4873a72d..e814f6c0 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/10/17 09:54:20 $ - Version: $Revision: 1.5 $ + Date: $Date: 2005/11/08 16:40:02 $ + 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 @@ -40,7 +40,8 @@ int main(int argc, char *argv[]) s = new gdcm::SerieHelper(); s->SetLoadMode(gdcm::LD_ALL); // Load everything for each File - //s->AddRestriction(tagKey, valueToCheck); // Keep only files where + //gdcm::TagKey t(0x0020,0x0013); + //s->AddRestriction(t, "340", gdcm::GDCM_LESS); // Keep only files where // restriction is true s->SetDirectory(dirName, true); // true : recursive exploration diff --git a/Example/exXCoherentFileSet.cxx b/Example/exXCoherentFileSet.cxx index 3a873aba..c60915dd 100755 --- a/Example/exXCoherentFileSet.cxx +++ b/Example/exXCoherentFileSet.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exXCoherentFileSet.cxx,v $ Language: C++ - Date: $Date: 2005/11/07 10:54:41 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/11/08 16:40:02 $ + 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 @@ -117,7 +117,8 @@ int main(int argc, char *argv[]) s = new gdcm::SerieHelper(); s->SetLoadMode(gdcm::LD_ALL); // Load everything for each File - //s->AddRestriction(tagKey, valueToCheck); // Keep only files where + //gdcm::TagKey t(0x0020,0x0013); + //s->AddRestriction(t, "340", gdcm::GDCM_LESS); // Keep only files where // restriction is true s->SetDirectory(dirName, true); // true : recursive exploration