MeVisLab Toolbox Reference
mlDirectoryMatching.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
5
10//----------------------------------------------------------------------------------
11#pragma once
12
13// Local includes
15
16// ML includes
17#include <mlModuleIncludes.h>
18
19
21
22class ProgressLogger;
23
24namespace ReleaseToolsIO {
25
27 typedef std::vector< std::string > StringVector;
28 typedef std::vector< StringVector > StringVectorVector;
30
31 //----------------------------------------------------------------------------------
89 //----------------------------------------------------------------------------------
91 const std::string &dstDirBasePath,
93 const bool applyAmbiguityHeuristics,
94 ProgressLogger *logger,
111
112
113};
114
Project global and OS specific declarations.
#define MLRELEASE_TOOLS_EXPORT
DLL export macro definition.
std::vector< std::string > StringVector
Configurable logger and progress handler class which can be used as base class for logging,...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
std::vector< std::string > StringVector
Define often used string vector types.
std::vector< StringVector > StringVectorVector
MLRELEASE_TOOLS_EXPORT bool calculateDirectoryMatching(const std::string &srcDirBasePath, const std::string &dstDirBasePath, const StringVector &suppressedItems, const bool applyAmbiguityHeuristics, ProgressLogger *logger, StringVector &srcFiles, StringVector &srcDirs, StringVector &dstFiles, StringVector &dstDirs, StringVector &directlyMovedFilesVec, StringVector &directlyMovedDirsVec, StringVector matchingFileVec[2], StringVector &ambiguousMatchingFileVecSrc, StringVectorVector &ambiguousMatchingFilesVec, StringVector &nonMatchingFileVec, StringVector matchingDirVec[2], StringVector &nonMatchingDirVec, StringVector &ambiguousMatchingDirVecSrc, StringVectorVector &ambiguousMatchingDirsVec, StringVector &newDstFiles, StringVector &newDstDirs)
This function implements a heuristic to find a good matching from files and directories under srcDirB...