X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FTestDcm2Acr.cxx;h=4e8332a80c15e73d6d94632129a718221803525f;hb=2bb60efea83f2bfa1823f27b2a5536a0e6cfd8c0;hp=8a2996b54416fb2518b575a4f8c19125bae27b58;hpb=8fca7bc2830904113dbb5521c009775d964c5c98;p=gdcm.git diff --git a/Example/TestDcm2Acr.cxx b/Example/TestDcm2Acr.cxx index 8a2996b5..4e8332a8 100644 --- a/Example/TestDcm2Acr.cxx +++ b/Example/TestDcm2Acr.cxx @@ -1,23 +1,41 @@ +/*========================================================================= + + Program: gdcm + Module: $RCSfile: TestDcm2Acr.cxx,v $ + Language: C++ + Date: $Date: 2004/11/16 04:26:18 $ + Version: $Revision: 1.4 $ + + 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" +#include int main(int argc, char* argv[]) { std::string toto; char zozo[100]; - gdcmFile * f1; + gdcm::File * f1; printf (" Before gdcmFile() \n"); printf ("\n\n---------------------------------------\n\n"); if (argc > 1) { toto = argv[1]; - f1 = new gdcmFile(toto); + f1 = new gdcm::File(toto); } else { std::string filename = GDCM_DATA_ROOT; filename += "/test.acr"; - f1 = new gdcmFile(filename.c_str()); + f1 = new gdcm::File(filename.c_str()); } printf (" Sortie gdcmFile() \n");