1 /*=========================================================================
4 Module: $RCSfile: TestValidate.cxx,v $
6 Date: $Date: 2005/11/18 11:09:06 $
7 Version: $Revision: 1.3 $
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::File *input = gdcm::File::New( );
33 input->SetFileName(filename);
35 gdcm::Validator *v = gdcm::Validator::New();