]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOGimmick.cpp
QT interface
[creaImageIO.git] / src / creaImageIOGimmick.cpp
index 311deba6982023ec0829f845965d3c59c0d5c58a..06e32ce55a89c81f68f82242ee26e30c1284c97c 100644 (file)
@@ -9,7 +9,7 @@
 #  define PATH_MAX 2048
 #endif
 #include <creaImageIOGimmick.h>
-#include <boost/algorithm/string.hpp>
+
 #ifdef _DEBUG
 #define new DEBUG_NEW
 #endif
@@ -443,12 +443,10 @@ path+= mLocalDescpName;
                   else
                   {
                            std::vector<std::string>::iterator it = i_attr.inside.begin();
-                          for(; it != i_attr.inside.end(); it++)
+                           for(; it != i_attr.inside.end(); it++)
                                   i_res[(*it)] = map_attr[(*it)];
                   }
           }
-          
-
   }
 
 
@@ -541,4 +539,15 @@ void Gimmick::fillVectInfos(std::vector<std::string> i_attr, OutputAttr &infos)
        }
 }
 
+const std::stringstream Gimmick::getSummary()
+{
+      const AddProgress& p = GetAddProgress();
+    std::stringstream mess;
+    mess << "Dirs \tscanned\t: " << p.GetNumberScannedDirs()  << "\n";
+    mess << "Files\tscanned\t: " << p.GetNumberScannedFiles() << "\n";
+    mess << "Files\thandled\t: " << p.GetNumberHandledFiles() << "\n\n";
+    mess << "Files\tadded  \t: " << p.GetNumberAddedFiles()   << "\n\n";
+    return mess;
+}
+
 }
\ No newline at end of file