CFileCopyOverLoaderComp.h
Go to the documentation of this file.
1 #ifndef ifileproc_CFileCopyOverLoaderComp_included
2 #define ifileproc_CFileCopyOverLoaderComp_included
3 
4 
5 // ACF includes
6 #include <istd/IChangeable.h>
8 #include <ilog/TLoggerCompWrap.h>
9 
10 // ACF-Solutions includes
12 
13 
14 namespace ifileproc
15 {
16 
17 
24  virtual public IFileConversion
25 {
26 public:
28 
29  I_BEGIN_COMPONENT(CFileCopyOverLoaderComp);
30  I_REGISTER_INTERFACE(IFileConversion);
31 
32  I_ASSIGN(m_objectCompPtr, "Object", "Object used as representation of copied data", true, "Object");
33  I_ASSIGN(m_inputLoaderCompPtr, "InputLoader", "input file loader", true, "InputLoader");
34  I_ASSIGN(m_outputLoaderCompPtr, "OutputLoader", "output file loader", true, "OutputLoader");
35  I_END_COMPONENT;
36 
37  // reimplemented (ifileproc::IFileConversion)
38  virtual int ConvertFiles(
39  const QString& inputPath,
40  QString& outputPath,
41  const iprm::IParamsSet* paramsPtr = NULL,
42  ibase::IProgressManager* progressManagerPtr = NULL) const;
43 
44 private:
45  I_REF(istd::IChangeable, m_objectCompPtr);
46  I_REF(ifile::IFilePersistence, m_inputLoaderCompPtr);
47  I_REF(ifile::IFilePersistence, m_outputLoaderCompPtr);
48 };
49 
50 
51 } // namespace ifileproc
52 
53 
54 #endif // !ifileproc_CFileCopyOverLoaderComp_included
55 
56 
virtual int ConvertFiles(const QString &inputPath, QString &outputPath, const iprm::IParamsSet *paramsPtr=NULL, ibase::IProgressManager *progressManagerPtr=NULL) const
Copy a file or files from inputPath to destination outputPath.
General file copy or transformation.
General interface for conversion of files.

© 2007-2017 Witold Gantzke and Kirill Lepskiy