X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FTestValidate.cxx;h=c2913b6512fb95097d3510a495b025ce4f9de75b;hb=5f2a9e86acc7c14559f0c692af86f4e92ccf8a87;hp=22d5272e717538ee84e9b7cd553bef763fbf5c50;hpb=329b5524e57929ecf64495be9fe757b69ba64613;p=gdcm.git diff --git a/Example/TestValidate.cxx b/Example/TestValidate.cxx index 22d5272e..c2913b65 100755 --- a/Example/TestValidate.cxx +++ b/Example/TestValidate.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestValidate.cxx,v $ Language: C++ - Date: $Date: 2005/11/03 16:11:54 $ - Version: $Revision: 1.2 $ + Date: $Date: 2007/05/23 14:18:04 $ + 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 @@ -29,10 +29,10 @@ int main(int argc, char *argv[]) const char *filename = argv[1]; - gdcm::File *input = gdcm::File::New( ); + GDCM_NAME_SPACE::File *input = GDCM_NAME_SPACE::File::New( ); input->SetFileName(filename); input->Load(); - gdcm::Validator *v = new gdcm::Validator(); + GDCM_NAME_SPACE::Validator *v = GDCM_NAME_SPACE::Validator::New(); v->SetInput( input ); return 0;