X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Example%2FPrintDocument.cxx;h=8d7a0aadd2f46021f7627861abda286951998f88;hb=bd2c6b9f9fa4b815153b200081de0450429a882e;hp=09305c570d3ab7d1b486815b3e0937e9941cfb97;hpb=ab62b1a706df8e2ab1fbf26fa5037d6c22293655;p=gdcm.git diff --git a/Example/PrintDocument.cxx b/Example/PrintDocument.cxx index 09305c57..8d7a0aad 100644 --- a/Example/PrintDocument.cxx +++ b/Example/PrintDocument.cxx @@ -1,10 +1,28 @@ +/*========================================================================= + + Program: gdcm + Module: $RCSfile: PrintDocument.cxx,v $ + Language: C++ + Date: $Date: 2005/01/21 11:40:52 $ + Version: $Revision: 1.10 $ + + 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 "gdcmFile.h" + #include -#include "gdcm.h" int main(int argc, char* argv[]) { - gdcmHeader *e1; + gdcm::File *e1; std::string fileName; if (argc != 2) { @@ -21,7 +39,7 @@ int main(int argc, char* argv[]) fileName += "/test.acr"; } - e1= new gdcmHeader( fileName.c_str() ); + e1= new gdcm::File( fileName.c_str() ); e1->SetPrintLevel(2);