3 #include "gdcmException.h"
4 #include "gdcmCommon.h"
6 #include "gdcmDictEntry.h"
8 #include "gdcmDictSet.h"
9 #include "gdcmHeader.h"
11 #include "gdcmBinEntry.h"
12 #include "gdcmDocEntry.h"
13 #include "gdcmDocEntrySet.h"
14 #include "gdcmDocument.h"
15 #include "gdcmElementSet.h"
16 #include "gdcmSeqEntry.h"
17 #include "gdcmSQItem.h"
18 #include "gdcmValEntry.h"
20 int main(int argc, char* argv[])
27 std::cout << " Usage : " << argv[0]
28 << " filename." << std::endl;
34 fileName += GDCM_DATA_ROOT;
35 fileName += "/test.acr";
39 (fileName.c_str(),false, true);
45 std::cout << "\n\n" << std::endl;
48 std::cout <<std::endl<<fileName<<" is Readable"<<std::endl;
50 std::cout <<std::endl<<fileName<<" is NOT Readable"<<std::endl;
51 std::cout<<std::flush;