- if( GDCM_NAME_SPACE::Debug::GetDebugFlag())
- {
- std::cout << "---------------------------------------------" << std::endl;
- f->Print();
- std::cout << "---------------------------------------------" << std::endl;
- }
- if (!res) {
- std::cerr << "Sorry, " << fileName << " not a gdcm-readable "
- << "DICOM / ACR File"
- << std::endl;
- f->Delete();
- return 1;
- }
- std::cout << " ... is readable " << std::endl;
-*/
+ bool resFile = dealWithCurrentFile(PSName);
+ std::cout << "\n\n" <<std::endl;
+ std::cout << "=====================================================[" << PSName << "]==" << resFile << std::endl;
+ return resFile;
+}