Public Types | Public Member Functions | List of all members
ifileproc::CFileCopyOverLoaderComp Class Reference

General file copy or transformation. More...

#include <CFileCopyOverLoaderComp.h>

Inheritance diagram for ifileproc::CFileCopyOverLoaderComp:
ilog::TLoggerCompWrap< Base > ifileproc::IFileConversion ilog::CLoggerBase istd::IPolymorphic ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

typedef ilog::CLoggerComponentBase BaseClass
 
- Public Types inherited from ifileproc::IFileConversion
enum  MessageId { MI_INPUT_PATH = 0x5cd40, MI_OUTPUT_PATH }
 Types of messages which can be produced during execution of ConvertFiles method. More...
 

Public Member Functions

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. More...
 
- Public Member Functions inherited from ilog::ILoggable
virtual void SetLogPtr (IMessageConsumer *logPtr)=0
 
virtual IMessageConsumerGetLogPtr () const =0
 
virtual void SetTracingEnabled (bool trace)=0
 
virtual bool IsTracingEnabled () const =0
 

Additional Inherited Members

- Protected Member Functions inherited from ilog::CLoggerBase
virtual void DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const
 

Detailed Description

General file copy or transformation.

This implementation uses general file loader, saver and any object instance.

Definition at line 22 of file CFileCopyOverLoaderComp.h.

Member Typedef Documentation

Definition at line 27 of file CFileCopyOverLoaderComp.h.

Member Function Documentation

virtual int ifileproc::CFileCopyOverLoaderComp::ConvertFiles ( const QString &  inputPath,
QString &  outputPath,
const iprm::IParamsSet paramsPtr = NULL,
ibase::IProgressManager progressManagerPtr = NULL 
) const
virtual

Copy a file or files from inputPath to destination outputPath.

Parameters
inputPathPath to the input file or directory.
outputPathPath to the output file or directory. Output file path can be calculated or modified inside of ConvertFiles method.
paramsPtrFile conversion parameters
progressManagerPtrProgress 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.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy