CFileNameParam.h
Go to the documentation of this file.
1 #ifndef ifile_CFileNameParam_included
2 #define ifile_CFileNameParam_included
3 
4 
5 // ACF includes
6 #include <iser/ISerializable.h>
7 #include <ifile/IFileNameParam.h>
8 
9 
10 namespace ifile
11 {
12 
13 
17 class CFileNameParam: virtual public IFileNameParam
18 {
19 public:
20 
21  // reimplemented (ifile::IFileNameParam)
22  virtual int GetPathType() const;
23  virtual const QString& GetPath() const;
24  virtual void SetPath(const QString& path);
25 
26  // reimplemented (iser::ISerializable)
27  virtual bool Serialize(iser::IArchive& archive);
28 
29  // reimplemented (istd::IChangeable)
30  virtual int GetSupportedOperations() const;
31  virtual bool CopyFrom(const IChangeable& object, CompatibilityMode mode = CM_WITHOUT_REFS);
32  virtual bool IsEqual(const IChangeable& object) const;
33 
34 protected:
35  QString m_path;
36 };
37 
38 
39 } // namespace ifile
40 
41 
42 #endif // !ifile_CFileNameParam_included
43 
44 
Basic implementation of interface ifile::IFileNameParam.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
External references are simple ignored.
Definition: IChangeable.h:197
CompatibilityMode
Control how relationship betweeen objects are interpreted.
Definition: IChangeable.h:186
virtual bool Serialize(iser::IArchive &archive)
Load or store state of this object as a archive stream.
virtual const QString & GetPath() const
Get path.
virtual int GetPathType() const
Get intended type of the path.
virtual bool IsEqual(const IChangeable &object) const
Common interface for any file system item name (e.g directory, file or URL path)
Represent input/output persistence archive.
Definition: IArchive.h:30
virtual int GetSupportedOperations() const
Get set of flags for supported operations.
virtual void SetPath(const QString &path)
Set path.

© 2007-2017 Witold Gantzke and Kirill Lepskiy