Public Member Functions | Protected Attributes | List of all members
ifileproc::CFileNamingParams Class Reference

#include <CFileNamingParams.h>

Inheritance diagram for ifileproc::CFileNamingParams:
ifileproc::IFileNamingParams iser::ISerializable istd::IChangeable istd::IPolymorphic ifileproc::CFileNamingParamsComp

Public Member Functions

 CFileNamingParams ()
 
virtual OverwriteStrategy GetOverwriteStrategy () const
 Get used strategy for possible overwriting of existing files. More...
 
virtual void SetOverwriteStrategy (OverwriteStrategy overwriteStrategy)
 
virtual QString GetPrefix () const
 Get prefix of the file. More...
 
virtual void SetPrefix (const QString &prefix)
 Set prefix of the file. More...
 
virtual QString GetSuffix () const
 Set suffix of the file. More...
 
virtual void SetSuffix (const QString &suffix)
 Get suffix of the file. More...
 
virtual QStringList GetPatternsToRemove () const
 Get list of text patterns, that must be removed from the output file name. More...
 
virtual void SetPatternsToRemove (const QStringList &patternsToRemove)
 Set list of text patterns, that must be removed from the output file name. More...
 
virtual bool Serialize (iser::IArchive &archive)
 
virtual int GetSupportedOperations () const
 
virtual bool CopyFrom (const istd::IChangeable &object, istd::IChangeable::CompatibilityMode mode=istd::IChangeable::CM_WITHOUT_REFS)
 
virtual bool IsEqual (const istd::IChangeable &object) const
 
virtual istd::IChangeableCloneMe (istd::IChangeable::CompatibilityMode mode=istd::IChangeable::CM_WITHOUT_REFS) const
 
virtual bool ResetData (CompatibilityMode mode=CM_WITHOUT_REFS)
 
- Public Member Functions inherited from ifileproc::IFileNamingParams
virtual void SetOverwriteStrategy (OverwriteStrategy overwriteStrategy)=0
 Set renaming mode. More...
 

Protected Attributes

OverwriteStrategy m_overwriteStrategy
 
QString m_suffix
 
QString m_prefix
 
QStringList m_patternsToRemove
 

Additional Inherited Members

- Public Types inherited from ifileproc::IFileNamingParams
enum  OverwriteStrategy { RM_OVERWRITE, RM_NUMBERING }
 Strategy mode. More...
 

Detailed Description

Definition at line 19 of file CFileNamingParams.h.

Constructor & Destructor Documentation

ifileproc::CFileNamingParams::CFileNamingParams ( )

Member Function Documentation

virtual istd::IChangeable* ifileproc::CFileNamingParams::CloneMe ( istd::IChangeable::CompatibilityMode  mode = istd::IChangeable::CM_WITHOUT_REFS) const
virtual
virtual bool ifileproc::CFileNamingParams::CopyFrom ( const istd::IChangeable object,
istd::IChangeable::CompatibilityMode  mode = istd::IChangeable::CM_WITHOUT_REFS 
)
virtual
virtual OverwriteStrategy ifileproc::CFileNamingParams::GetOverwriteStrategy ( ) const
virtual

Get used strategy for possible overwriting of existing files.

See Also
OverwriteStrategy

Implements ifileproc::IFileNamingParams.

virtual QStringList ifileproc::CFileNamingParams::GetPatternsToRemove ( ) const
virtual

Get list of text patterns, that must be removed from the output file name.

See Also
SetPatternsToRemove

Implements ifileproc::IFileNamingParams.

virtual QString ifileproc::CFileNamingParams::GetPrefix ( ) const
virtual

Get prefix of the file.

Implements ifileproc::IFileNamingParams.

virtual QString ifileproc::CFileNamingParams::GetSuffix ( ) const
virtual

Set suffix of the file.

Implements ifileproc::IFileNamingParams.

virtual int ifileproc::CFileNamingParams::GetSupportedOperations ( ) const
virtual
virtual bool ifileproc::CFileNamingParams::IsEqual ( const istd::IChangeable object) const
virtual
virtual bool ifileproc::CFileNamingParams::ResetData ( CompatibilityMode  mode = CM_WITHOUT_REFS)
virtual
virtual bool ifileproc::CFileNamingParams::Serialize ( iser::IArchive archive)
virtual
virtual void ifileproc::CFileNamingParams::SetOverwriteStrategy ( OverwriteStrategy  overwriteStrategy)
virtual
virtual void ifileproc::CFileNamingParams::SetPatternsToRemove ( const QStringList &  patternsToRemove)
virtual

Set list of text patterns, that must be removed from the output file name.

For example, the file name foo_some.txt will be transformed into foo.txt if _some pattern is set.

See Also
GetPatternsToRemove

Implements ifileproc::IFileNamingParams.

virtual void ifileproc::CFileNamingParams::SetPrefix ( const QString &  prefix)
virtual

Set prefix of the file.

Implements ifileproc::IFileNamingParams.

virtual void ifileproc::CFileNamingParams::SetSuffix ( const QString &  suffix)
virtual

Get suffix of the file.

Implements ifileproc::IFileNamingParams.

Member Data Documentation

OverwriteStrategy ifileproc::CFileNamingParams::m_overwriteStrategy
protected

Definition at line 45 of file CFileNamingParams.h.

QStringList ifileproc::CFileNamingParams::m_patternsToRemove
protected

Definition at line 48 of file CFileNamingParams.h.

QString ifileproc::CFileNamingParams::m_prefix
protected

Definition at line 47 of file CFileNamingParams.h.

QString ifileproc::CFileNamingParams::m_suffix
protected

Definition at line 46 of file CFileNamingParams.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy