|
MeVisLab Toolbox Reference
|
A collection of some IO tools. More...
#include "MLReleaseToolsSystem.h"#include <mlModuleIncludes.h>#include <mlAPI.h>#include "mlDirectoryMatching.h"#include <list>Go to the source code of this file.
Namespaces | |
| namespace | ml |
| Defines the class GetTileJob. | |
| namespace | ml::ReleaseToolsIO |
| A collection of static IO tool functions. | |
Functions | |
| MLRELEASE_TOOLS_EXPORT bool | ml::ReleaseToolsIO::isDICOMTiffPair (const std::string &oneFile, std::string *otherFile=nullptr, std::string *dcmFile=nullptr, std::string *tiffFile=nullptr) |
| MLRELEASE_TOOLS_EXPORT bool | ml::ReleaseToolsIO::hasMLImageSuffix (const std::string &filePathWithName) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT bool | ml::ReleaseToolsIO::isFileOrSuffixInList (const std::string &fileNamePath, const std::vector< std::string > sufList) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT std::string | ml::ReleaseToolsIO::searchFileTypeInBinaryHeader (const std::string &fullFilePath) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT std::string | ml::ReleaseToolsIO::buildRelativePath (bool useRelativePaths, const std::string &fileRootDirPath, const std::string &fNamePath, bool allowBranchedSubDirs=false, bool allowMultiFrameHandles=false) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT std::string | ml::ReleaseToolsIO::removeRedundantPathComponents (const std::string &pathAndFileNameStr) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT void | ml::ReleaseToolsIO::removeRedundantPathComponents (const std::string &pathToSimplify, std::string &simplifiedPath) |
| Same as removeRedundantPathComponents(const std::string &pathAndFileNameStr) but returning value in simplifiedPath. | |
| MLRELEASE_TOOLS_EXPORT void | ml::ReleaseToolsIO::removeRedundantPathComponentsInPlace (std::string &pathToSimplify) |
| MLRELEASE_TOOLS_EXPORT std::string | ml::ReleaseToolsIO::buildAbsolutePath (bool allowMakeAbsolute, const std::string &fileRootDirPath, const std::string &relativeFileNameStr, bool simplifyPaths=false, bool allowMultiFrameHandles=false) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT void | ml::ReleaseToolsIO::buildAbsolutePath (bool allowMakeAbsolute, const std::string fileRootDirPath, const std::string &relativeFileNameStrIn, bool simplifyPaths, bool allowMultiFrameHandles, std::string &relPathFileName) |
| Same as std::string buildAbsolutePath(...) but returning result in relPathFileName. | |
| MLRELEASE_TOOLS_EXPORT std::string | ml::ReleaseToolsIO::appendSingleSlash (const std::string &srcStr) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT std::vector< std::string > | ml::ReleaseToolsIO::splitFilePath (const std::string &pathLikeString) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT void | ml::ReleaseToolsIO::splitFilePath (const std::string &pathLikeString, std::vector< std::string > &retPath) |
| Same as splitFilePath(const std::string &pathLikeString), only returning the result in retVal;. | |
| MLRELEASE_TOOLS_EXPORT void | ml::ReleaseToolsIO::splitPathAndName (std::string fullPathAndName, std::string &fPath, std::string &fName) |
| MLRELEASE_TOOLS_EXPORT std::string | ml::ReleaseToolsIO::substituteNonPathLikeChars (std::string strToCorrect) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT MLErrorCode | ml::ReleaseToolsIO::loadStringFile (const std::string &strFileName, std::string &readString) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT MLErrorCode | ml::ReleaseToolsIO::reformatColorChannels (const std::vector< SubImage > &frameSubImgs, MLint frameOffset, SubImage &outSubImg, size_t dimIdx, bool isInterleaved, MLint timeUnrollSteps) ML_RETURN_VALUE_SHOULD_BE_USED |
| MLRELEASE_TOOLS_EXPORT bool | ml::ReleaseToolsIO::scanDirectoriesForFiles (ProgressLogger *progressLogger, const std::string &sourceDir, const std::vector< std::string > *suppressedFilesAndSuffixes, bool recursively, std::vector< std::string > &resultFileVector, std::vector< std::string > *resultDirVector=nullptr, bool returnRelativePaths=false, bool alsoSuppressDirectories=false, bool warnNoSourceSourceDir=false, float progressMinimum=0.0, float progressMaximum=1.0, std::vector< std::string > *checkForFileExtensions=nullptr, bool *checkForFileExtensionsFound=nullptr) |
| MLRELEASE_TOOLS_EXPORT MLErrorCode | ml::ReleaseToolsIO::deleteListOfFiles (std::list< std::string > *fileNameList, ProgressLogger *progressLogger=nullptr) |