Copy files from one directory to another one.
More...
#include <CCopyFilesTreeComp.h>
|
bool | CheckFileExistTree (const QDir &inputDir, const QStringList &filters, const QStringList &excludeFilters, int recursionDepth) const |
| Check if in tree specified files exists. More...
|
|
bool | CopyFileTree (const QDir &inputDir, const QDir &outputDir, const iprm::IParamsSet *paramsPtr, const QStringList &filters, const QStringList &excludeFilters, int recursionDepth, int &counter) const |
| Copy complete files tree for specified filter. More...
|
|
bool | CheckIfExcluded (const QString &fileName, const QStringList &excludeFilters) const |
| Check if some file should be excluded from processing. More...
|
|
virtual void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const |
|
Copy files from one directory to another one.
This component is part of installation concept. It is designed to use it as free component.
Definition at line 24 of file CCopyFilesTreeComp.h.
bool ifileproc::CCopyFilesTreeComp::CheckFileExistTree |
( |
const QDir & |
inputDir, |
|
|
const QStringList & |
filters, |
|
|
const QStringList & |
excludeFilters, |
|
|
int |
recursionDepth |
|
) |
| const |
|
protected |
Check if in tree specified files exists.
- Parameters
-
inputDir | input directory. |
filters | list of file filter will be copied. |
recursionDepth | maximale recursion depth. |
bool ifileproc::CCopyFilesTreeComp::CheckIfExcluded |
( |
const QString & |
fileName, |
|
|
const QStringList & |
excludeFilters |
|
) |
| const |
|
protected |
Check if some file should be excluded from processing.
Copy a file or files from inputPath
to destination outputPath
.
- Parameters
-
inputPath | Path to the input file or directory. |
outputPath | Path to the output file or directory. Output file path can be calculated or modified inside of ConvertFiles method. |
paramsPtr | File conversion parameters |
progressManagerPtr | Progress manager used for getting information about file conversion progress state and canceling. |
- Returns
- Status of conversion operation.
- See Also
- iproc::IProcessor::TaskState
Implements ifileproc::IFileConversion.
bool ifileproc::CCopyFilesTreeComp::CopyFileTree |
( |
const QDir & |
inputDir, |
|
|
const QDir & |
outputDir, |
|
|
const iprm::IParamsSet * |
paramsPtr, |
|
|
const QStringList & |
filters, |
|
|
const QStringList & |
excludeFilters, |
|
|
int |
recursionDepth, |
|
|
int & |
counter |
|
) |
| const |
|
protected |
Copy complete files tree for specified filter.
- Parameters
-
inputDir | input directory. |
outputDir | output directory. |
filters | list of file filter will be copied. |
copyFunc | function used to copy single file. |
recursionDepth | maximale recursion depth. |
The documentation for this class was generated from the following file: