1 /*=========================================================================
4 Module: $RCSfile: TestValidate.cxx,v $
6 Date: $Date: 2005/06/14 20:33:53 $
7 Version: $Revision: 1.1 $
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 TestValidate(int argc, char *argv[])
26 std::cerr << "ouh les cornes" << std::endl;
30 const char *filename = argv[1];
32 gdcm::File *input = new gdcm::File( filename );
33 gdcm::Validator *v = new gdcm::Validator();