1 /*=========================================================================
4 Module: $RCSfile: PrintDocument.cxx,v $
6 Date: $Date: 2004/12/03 20:16:55 $
7 Version: $Revision: 1.9 $
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 =========================================================================*/
18 #include "gdcmHeader.h"
22 int main(int argc, char* argv[])
29 std::cout << " Usage : "
38 fileName += GDCM_DATA_ROOT;
39 fileName += "/test.acr";
42 e1= new gdcm::Header( fileName.c_str() );
48 std::cout << "\n\n" << std::endl;
51 std::cout <<std::endl<<fileName<<" is Readable"<<std::endl;
53 std::cout <<std::endl<<fileName<<" is NOT Readable"<<std::endl;
54 std::cout<<std::flush;