X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPrintDocument.cxx;h=43b95b13c09fc3c52577df0f7240ab9bea1225db;hb=4399e9fed374a2dcc7f1ab98ec7b5af5f7982aca;hp=85e4b2971b5f9a63478fcaa61fbe548cdc672bd1;hpb=220ad8c527f2b2edf1ba19af8897aca8f4a49cf7;p=gdcm.git diff --git a/Example/PrintDocument.cxx b/Example/PrintDocument.cxx index 85e4b297..43b95b13 100644 --- a/Example/PrintDocument.cxx +++ b/Example/PrintDocument.cxx @@ -1,10 +1,27 @@ +/*========================================================================= + + Program: gdcm + Module: $RCSfile: PrintDocument.cxx,v $ + Language: C++ + Date: $Date: 2004/11/16 04:26:17 $ + Version: $Revision: 1.8 $ + + 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 "gdcm.h" int main(int argc, char* argv[]) { - gdcmHeader *e1; + gdcm::Header *e1; std::string fileName; if (argc != 2) { @@ -21,7 +38,7 @@ int main(int argc, char* argv[]) fileName += "/test.acr"; } - e1= new gdcmHeader( fileName.c_str(), false ); + e1= new gdcm::Header( fileName.c_str() ); e1->SetPrintLevel(2);