1 /*=========================================================================
4 Module: $RCSfile: TestValidate.cxx,v $
6 Date: $Date: 2007/05/23 14:18:04 $
7 Version: $Revision: 1.4 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
19 #include "gdcmValidator.h"
22 int main(int argc, char *argv[])
26 std::cerr << "ouh les cornes / shame on you / !inocente!" << std::endl;
30 const char *filename = argv[1];
32 GDCM_NAME_SPACE::File *input = GDCM_NAME_SPACE::File::New( );
33 input->SetFileName(filename);
35 GDCM_NAME_SPACE::Validator *v = GDCM_NAME_SPACE::Validator::New();