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

Component for creating single file with results of processing single input file or all files in some directory. More...

#include <CProcessingResultsReviewComp.h>

Inheritance diagram for ifileproc::CProcessingResultsReviewComp:
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
 

Protected Member Functions

virtual bool ProcessSingleFile (const QString &filePath, iser::IArchive &archive)
 Process single file and send the results to archive. More...
 
- 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

Component for creating single file with results of processing single input file or all files in some directory.

It needs some input object storing current processed file path and supplier chain based on this path. The results will be stored in single serialization process.

Definition at line 25 of file CProcessingResultsReviewComp.h.

Member Typedef Documentation

Definition at line 30 of file CProcessingResultsReviewComp.h.

Member Function Documentation

virtual int ifileproc::CProcessingResultsReviewComp::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.

virtual bool ifileproc::CProcessingResultsReviewComp::ProcessSingleFile ( const QString &  filePath,
iser::IArchive archive 
)
protectedvirtual

Process single file and send the results to archive.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy