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

#include <CSelectableFileConverterComp.h>

Inheritance diagram for ifileproc::CSelectableFileConverterComp:
icomp::CComponentBase ifileproc::IFileConversion iprm::ISelectionParam iprm::IOptionsList icomp::IComponent istd::IPolymorphic iser::ISerializable istd::IChangeable istd::IPolymorphic istd::IChangeable istd::IPolymorphic istd::IPolymorphic

Public Types

typedef icomp::CComponentBase 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

 CSelectableFileConverterComp ()
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...
virtual const IOptionsList * GetSelectionConstraints () const
virtual int GetSelectedOptionIndex () const
virtual bool SetSelectedOptionIndex (int index)
virtual ISelectionParam * GetSubselection (int index) const
virtual bool Serialize (iser::IArchive &archive)
virtual void OnComponentCreated ()
- Public Member Functions inherited from icomp::IComponent
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const =0
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")=0
virtual const IComponentContextGetComponentContext () const =0
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)=0

Protected Member Functions

virtual int GetOptionsFlags () const
virtual int GetOptionsCount () const
virtual QString GetOptionName (int index) const
virtual QString GetOptionDescription (int index) const
virtual QByteArray GetOptionId (int index) const
virtual bool IsOptionEnabled (int index) const

Detailed Description

Definition at line 18 of file CSelectableFileConverterComp.h.

Member Typedef Documentation

Definition at line 25 of file CSelectableFileConverterComp.h.

Constructor & Destructor Documentation

ifileproc::CSelectableFileConverterComp::CSelectableFileConverterComp ( )

Member Function Documentation

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

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.
Status of conversion operation.
See Also

Implements ifileproc::IFileConversion.

virtual QString ifileproc::CSelectableFileConverterComp::GetOptionDescription ( int  index) const
virtual QByteArray ifileproc::CSelectableFileConverterComp::GetOptionId ( int  index) const
virtual QString ifileproc::CSelectableFileConverterComp::GetOptionName ( int  index) const
virtual int ifileproc::CSelectableFileConverterComp::GetOptionsCount ( ) const
virtual int ifileproc::CSelectableFileConverterComp::GetOptionsFlags ( ) const
virtual int ifileproc::CSelectableFileConverterComp::GetSelectedOptionIndex ( ) const
virtual const IOptionsList* ifileproc::CSelectableFileConverterComp::GetSelectionConstraints ( ) const
virtual ISelectionParam* ifileproc::CSelectableFileConverterComp::GetSubselection ( int  index) const
virtual bool ifileproc::CSelectableFileConverterComp::IsOptionEnabled ( int  index) const
virtual void ifileproc::CSelectableFileConverterComp::OnComponentCreated ( )
virtual bool ifileproc::CSelectableFileConverterComp::Serialize ( iser::IArchive archive)
virtual bool ifileproc::CSelectableFileConverterComp::SetSelectedOptionIndex ( int  index)

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy