X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FFindTags.cxx;h=7bd9c00eaa1190cd9bb81c3d62a2b5d6091448c9;hb=48841439120f101a24c7430bd746bff8af8daa77;hp=46aea14bc2f47702e5c01afe4bd4fbbec585fbac;hpb=8fca7bc2830904113dbb5521c009775d964c5c98;p=gdcm.git diff --git a/Example/FindTags.cxx b/Example/FindTags.cxx index 46aea14b..7bd9c00e 100644 --- a/Example/FindTags.cxx +++ b/Example/FindTags.cxx @@ -1,20 +1,37 @@ +/*========================================================================= + + Program: gdcm + Module: $RCSfile: FindTags.cxx,v $ + Language: C++ + Date: $Date: 2004/11/16 04:26:17 $ + 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 + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ #include -//#include #include "gdcm.h" #include "math.h" +#include int main(int argc, char* argv[]) { std::string toto, titi; - gdcmFile * f1; + gdcm::File * f1; if(argc > 1 ) - f1 = new gdcmFile(argv[1]); + f1 = new gdcm::File(argv[1]); else { toto = GDCM_DATA_ROOT; toto += "/test.acr"; - f1 = new gdcmFile(toto); + f1 = new gdcm::File(toto); } std::string ManufacturerName="SIEMENS ";