CFileListConverterComp.h
Go to the documentation of this file.
1 #ifndef ifileproc_CFileListConverterComp_included
2 #define ifileproc_CFileListConverterComp_included
3 
4 
5 // ACF includes
6 #include "istd/TPointerVector.h"
10 
11 // ACF-Solutions includes
12 #include "ifileproc/IFileNaming.h"
13 
14 
15 namespace ifileproc
16 {
17 
18 
20 {
21 public:
23 
24  I_BEGIN_COMPONENT(CFileListConverterComp);
25  I_ASSIGN(m_fileConvertCompPtr, "FileCopy", "File conversion component used for execution. If not set, the files will be only copied", false, "FileCopy");
26  I_ASSIGN(m_outputFileNameCompPtr, "OutputFileNaming", "File naming component for the processing output", true, "OutputFileNaming");
27  I_ASSIGN(m_inputFilesRemovingEnabledAttrPtr, "InputFilesRemovingEnabled", "If set, the input files will be removed from the file system", true, false);
28  I_END_COMPONENT;
29 
30  // reimplemented (iproc::IProcessor)
31  virtual int DoProcessing(
32  const iprm::IParamsSet* paramsPtr,
33  const istd::IPolymorphic* inputPtr,
34  istd::IChangeable* outputPtr,
35  ibase::IProgressManager* progressManagerPtr = NULL);
36 
37 private:
38  I_REF(ifileproc::IFileConvertCopy, m_fileConvertCompPtr);
39  I_REF(IFileNaming, m_outputFileNameCompPtr);
40  I_ATTR(bool, m_inputFilesRemovingEnabledAttrPtr);
41 };
42 
43 
44 } // namespace ifileproc
45 
46 
47 #endif // !ifileproc_CFileListConverterComp_included
48 
49 
Simple definition macro for a synchronous processor.
Common interface for file copying.
virtual int DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
Interface for calculation of the new file path for an existing file.
Definition: IFileNaming.h:16
iproc::CSyncProcessorCompBase BaseClass

© 2007-2011 Witold Gantzke and Kirill Lepskiy