fw4spl
fwDcmtkIO::helper::DicomSearch Class Reference

This class contains helpers to search dicom files on filesystem... More...

#include <DicomSearch.hpp>

Static Public Member Functions

static FWDCMTKIO_API void searchRecursively (const ::boost::filesystem::path &dirPath, std::vector< std::string > &dicomFiles)
 Search Dicom files recursively. More...
 
static FWDCMTKIO_API bool checkFilenameExtension (const std::string &filename, std::vector< std::string > *extensions)
 Check if the file extension matches one of the forbidden extension. More...
 

Detailed Description

This class contains helpers to search dicom files on filesystem...

Definition at line 23 of file fwDcmtkIO/include/fwDcmtkIO/helper/DicomSearch.hpp.

Member Function Documentation

bool fwDcmtkIO::helper::DicomSearch::checkFilenameExtension ( const std::string &  filename,
std::vector< std::string > *  extensions 
)
static

Check if the file extension matches one of the forbidden extension.

Parameters
[in]filenameFilename that must be checked.
[in]extensionsExtensions to check

Definition at line 63 of file fwDcmtkIO/src/fwDcmtkIO/helper/DicomSearch.cpp.

Referenced by searchRecursively().

+ Here is the caller graph for this function:

void fwDcmtkIO::helper::DicomSearch::searchRecursively ( const ::boost::filesystem::path &  dirPath,
std::vector< std::string > &  dicomFiles 
)
static

Search Dicom files recursively.

Parameters
[in]dirPathRoot directory
[out]dicomFilesDicom files

Definition at line 26 of file fwDcmtkIO/src/fwDcmtkIO/helper/DicomSearch.cpp.

References checkFilenameExtension().

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: