X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FcreaImageIOSimpleView.cpp;h=c3d22d4ee0d9d03c36d788c2eb6b7f27a72a1929;hb=d17451ab47af34069d6dcda617ff6e4a132f3d0f;hp=6c640b33f03657b8c9ea192e29bd71a859aa45f9;hpb=1a4b973f2cfd974147a10756eb7d2b10ff524ddc;p=creaImageIO.git diff --git a/src/creaImageIOSimpleView.cpp b/src/creaImageIOSimpleView.cpp index 6c640b3..c3d22d4 100644 --- a/src/creaImageIOSimpleView.cpp +++ b/src/creaImageIOSimpleView.cpp @@ -1,8 +1,9 @@ #include "creaImageIOSimpleView.h" +#include "boost/filesystem/operations.hpp" +#include "boost/filesystem/fstream.hpp" namespace creaImageIO { - bool SimpleView::readFile(std::vector i_filenames, std::vector &i_img) { bool bresult, bfinal = true; @@ -21,8 +22,7 @@ namespace creaImageIO } } delete mReader; - return bfinal; - + return bfinal; } bool SimpleView::readDirectory(const std::string i_pathname, std::vector &i_imgs) @@ -50,7 +50,7 @@ namespace creaImageIO for(int i=0; iReadImage(names[i]) ); } }