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
14
#include "
MLReleaseToolsSystem.h
"
15
16
// ML includes
17
#include <
mlModuleIncludes.h
>
18
19
20
ML_START_NAMESPACE
21
22
class
ProgressLogger;
23
24
namespace
ReleaseToolsIO {
25
27
typedef
std::vector< std::string >
StringVector
;
28
typedef
std::vector< StringVector >
StringVectorVector
;
30
31
//----------------------------------------------------------------------------------
89
//----------------------------------------------------------------------------------
90
MLRELEASE_TOOLS_EXPORT
bool
calculateDirectoryMatching
(
const
std::string &
srcDirBasePath
,
91
const
std::string &
dstDirBasePath
,
92
const
StringVector
&
suppressedItems
,
93
const
bool
applyAmbiguityHeuristics
,
94
ProgressLogger
*logger,
95
StringVector
&
srcFiles
,
96
StringVector
&
srcDirs
,
97
StringVector
&
dstFiles
,
98
StringVector
&
dstDirs
,
99
StringVector
&
directlyMovedFilesVec
,
100
StringVector
&
directlyMovedDirsVec
,
101
StringVector
matchingFileVec
[2],
102
StringVector
&
ambiguousMatchingFileVecSrc
,
103
StringVectorVector
&
ambiguousMatchingFilesVec
,
104
StringVector
&
nonMatchingFileVec
,
105
StringVector
matchingDirVec
[2],
106
StringVector
&
nonMatchingDirVec
,
107
StringVector
&
ambiguousMatchingDirVecSrc
,
108
StringVectorVector
&
ambiguousMatchingDirsVec
,
109
StringVector
&
newDstFiles
,
110
StringVector
&
newDstDirs
);
111
112
113
};
114
115
ML_END_NAMESPACE
MLReleaseToolsSystem.h
Project global and OS specific declarations.
MLRELEASE_TOOLS_EXPORT
#define MLRELEASE_TOOLS_EXPORT
DLL export macro definition.
Definition
MLReleaseToolsSystem.h:21
StringVector
std::vector< std::string > StringVector
Definition
SoShaderBuilder.h:23
ml::ProgressLogger
Configurable logger and progress handler class which can be used as base class for logging,...
Definition
mlProgressLogger.h:32
mlModuleIncludes.h
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
ml::ReleaseToolsIO::StringVector
std::vector< std::string > StringVector
Define often used string vector types.
Definition
mlDirectoryMatching.h:27
ml::ReleaseToolsIO::StringVectorVector
std::vector< StringVector > StringVectorVector
Definition
mlDirectoryMatching.h:28
ml::ReleaseToolsIO::calculateDirectoryMatching
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...
FMEstable
ReleaseMeVis
Projects
MLReleaseTools
Sources
mlDirectoryMatching.h
Generated by
1.10.0