![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Component for creating single file with results of processing single input file or all files in some directory. More...
#include <CProcessingResultsReviewComp.h>
Public Types | |
typedef ilog::CLoggerComponentBase | BaseClass |
![]() | |
enum | MessageId { MI_BAD_DEPENDENCY = 0x8a340 } |
typedef Base | BaseClass |
typedef ilog::CLoggerBase | BaseClass2 |
![]() | |
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 iproc::CTaskState | ConvertFiles (const QString &inputPath, QString &outputPath, const iprm::IParamsSet *paramsPtr=nullptr, iproc::IProgressManager *progressManagerPtr=nullptr) const override |
Copy a file or files from inputPath to destination outputPath . | |
![]() | |
CLoggerBase () | |
const QByteArray & | GetVerboseSenderId () const |
Get sender ID for verbose messages. | |
void | SetVerboseSenderId (const QByteArray &id) |
Set sender ID for verbose messages. | |
void | SetLogPtr (ilog::IMessageConsumer *logPtr) override |
Install log. | |
ilog::IMessageConsumer * | GetLogPtr () const override |
Get log. | |
![]() | |
![]() |
Protected Member Functions | |
virtual bool | ProcessSingleFile (const QString &filePath, iser::IArchive &archive) |
Process single file and send the results to archive. | |
![]() | |
virtual void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override |
Decorate message parts before outputting. | |
void | OnComponentCreated () override |
void | OnComponentDestroyed () override |
![]() | |
bool | IsVerboseEnabled () const |
Check if verbose messages are enabled. | |
bool | SendVerboseMessage (const QString &message, const QString &messageSource=QString()) const |
Send verbose message. | |
bool | SendInfoMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send info message to log. | |
bool | SendWarningMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send warning message to log. | |
bool | SendErrorMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send error message to log. | |
bool | SendCriticalMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send critical message to log. | |
bool | SendInfoMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send once info message to log. | |
bool | SendWarningMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send once warning message to log. | |
bool | SendErrorMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send once error message to log. | |
bool | SendCriticalMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const |
Send once critical message to log. | |
bool | SendUserMessage (const istd::IInformationProvider *messagePtr) const |
Send message with user object. | |
bool | AllowMessageOnceAgain (int id) |
Reset message lock. | |
bool | IsLogConsumed (const istd::IInformationProvider::InformationCategory *categoryPtr=nullptr, const int *flagsPtr=nullptr) const override |
Check if any log message is consumed. | |
bool | SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const override |
Send any message to log. | |
![]() |
Additional Inherited Members | |
![]() | |
QSet< int > | m_onceMessageIds |
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 28 of file CProcessingResultsReviewComp.h.
Definition at line 33 of file CProcessingResultsReviewComp.h.
|
overridevirtual |
Copy a file or files from inputPath
to destination outputPath
.
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. |
Implements ifileproc::IFileConversion.
|
protectedvirtual |
Process single file and send the results to archive.
© Witold Gantzke and Kirill Lepskiy