fw4spl
fwDcmtkIO/include/fwDcmtkIO/helper/DicomSearch.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2016.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWDCMTKIO_HELPER_DICOMSEARCH_HPP__
8 #define __FWDCMTKIO_HELPER_DICOMSEARCH_HPP__
9 
10 #include "fwDcmtkIO/config.hpp"
11 
12 #include <boost/filesystem/path.hpp>
13 #include <boost/filesystem.hpp>
14 
15 namespace fwDcmtkIO
16 {
17 namespace helper
18 {
19 
23 class FWDCMTKIO_CLASS_API DicomSearch
24 {
25 public:
31  FWDCMTKIO_API static void searchRecursively(const ::boost::filesystem::path& dirPath,
32  std::vector<std::string>& dicomFiles);
33 
39  FWDCMTKIO_API static bool checkFilenameExtension(const std::string& filename,
40  std::vector<std::string>* extensions);
41 };
42 
43 } // namespace helper
44 } // namespace fwDcmtkIO
45 
46 #endif /*__FWDCMTKIO_HELPER_DICOMSEARCH_HPP__*/
This class contains helpers to search dicom files on filesystem...
fwDcmtkIO contains classes used to pull Dicom images from a pacs using dcmtk library.
Definition: Codec.hpp:12