ACF $AcfVersion:0$
CFileNameParam.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
8
9
10namespace ifile
11{
12
13
17class CFileNameParam: virtual public IFileNameParam
18{
19public:
20
21 // reimplemented (ifile::IFileNameParam)
22 virtual int GetPathType() const override;
23 virtual const QString& GetPath() const override;
24 virtual void SetPath(const QString& path) override;
25
26 // reimplemented (iser::ISerializable)
27 virtual bool Serialize(iser::IArchive& archive) override;
28
29 // reimplemented (istd::IChangeable)
30 virtual int GetSupportedOperations() const override;
31 virtual bool CopyFrom(const IChangeable& object, CompatibilityMode mode = CM_WITHOUT_REFS) override;
32 virtual bool IsEqual(const IChangeable& object) const override;
33
34protected:
35 QString m_path;
36};
37
38
39} // namespace ifile
40
41
Basic implementation of interface ifile::IFileNameParam.
virtual bool CopyFrom(const IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS) override
virtual int GetPathType() const override
Get intended type of the path.
virtual const QString & GetPath() const override
Get path.
virtual void SetPath(const QString &path) override
Set path.
virtual bool Serialize(iser::IArchive &archive) override
Load or store state of this object as a archive stream.
virtual int GetSupportedOperations() const override
Get set of flags for supported operations.
virtual bool IsEqual(const IChangeable &object) const override
Common interface for any file system item name (e.g directory, file or URL path)
Represents an input/output persistence archive for object serialization.
Definition IArchive.h:164
CompatibilityMode
Control how relationship betweeen objects are interpreted.
@ CM_WITHOUT_REFS
External references are simple ignored.
Contains interfaces and implementations of file system related components.