IFileNamingParams.h
Go to the documentation of this file.
1 #ifndef ifileproc_IFileNamingParams_included
2 #define ifileproc_IFileNamingParams_included
3 
4 
5 // ACF includes
6 #include "iser/ISerializable.h"
7 
8 
9 namespace ifileproc
10 {
11 
12 
18 {
19 public:
24  {
29 
34  };
35 
40  virtual OverwriteStrategy GetOverwriteStrategy() const = 0;
41 
46  virtual void SetOverwriteStrategy(OverwriteStrategy overwriteStrategy) = 0;
47 
51  virtual QString GetPrefix() const = 0;
52 
56  virtual void SetPrefix(const QString& prefix) = 0;
57 
61  virtual QString GetSuffix() const = 0;
62 
66  virtual void SetSuffix(const QString& suffix) = 0;
67 
72  virtual QStringList GetPatternsToRemove() const = 0;
73 
79  virtual void SetPatternsToRemove(const QStringList& patternsToRemove) = 0;
80 };
81 
82 
83 } // namespace ifileproc
84 
85 
86 #endif // !ifileproc_IFileNamingParams_included
87 
88 
virtual void SetPrefix(const QString &prefix)=0
Set prefix of the file.
virtual QStringList GetPatternsToRemove() const =0
Get list of text patterns, that must be removed from the output file name.
virtual OverwriteStrategy GetOverwriteStrategy() const =0
Get used strategy for possible overwriting of existing files.
virtual void SetOverwriteStrategy(OverwriteStrategy overwriteStrategy)=0
Set renaming mode.
virtual void SetPatternsToRemove(const QStringList &patternsToRemove)=0
Set list of text patterns, that must be removed from the output file name.
virtual QString GetPrefix() const =0
Get prefix of the file.
virtual QString GetSuffix() const =0
Set suffix of the file.
Output file name will be automatic numbered if the file already exists.
virtual void SetSuffix(const QString &suffix)=0
Get suffix of the file.
Output file name is equals the input file name.
Interface for calculation parameters of the new file name for any file item.

© 2007-2011 Witold Gantzke and Kirill Lepskiy