1 /*=========================================================================
4 Module: $RCSfile: PrintDocument.cxx,v $
6 Date: $Date: 2004/11/16 04:26:17 $
7 Version: $Revision: 1.8 $
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 =========================================================================*/
21 int main(int argc, char* argv[])
28 std::cout << " Usage : "
37 fileName += GDCM_DATA_ROOT;
38 fileName += "/test.acr";
41 e1= new gdcm::Header( fileName.c_str() );
47 std::cout << "\n\n" << std::endl;
50 std::cout <<std::endl<<fileName<<" is Readable"<<std::endl;
52 std::cout <<std::endl<<fileName<<" is NOT Readable"<<std::endl;
53 std::cout<<std::flush;