ACF $AcfVersion:0$
CIdParamComp.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
7#include <iprm/CIdParam.h>
8
9
10namespace iprm
11{
12
13
19 public iprm::CIdParam
20{
21public:
24
25 I_BEGIN_COMPONENT(CIdParamComp);
26 I_REGISTER_INTERFACE(iprm::IIdParam);
27 I_REGISTER_INTERFACE(iser::ISerializable);
28 I_REGISTER_INTERFACE(istd::IChangeable);
29 I_ASSIGN(m_defaultIdAttrPtr, "DefaultId", "Default ID", false, "");
30 I_END_COMPONENT;
31
32protected:
33 // reimplemented (icomp::CComponentBase)
34 virtual void OnComponentCreated() override;
35
36private:
37 I_ATTR(QByteArray, m_defaultIdAttrPtr);
38};
39
40
41} // namespace iprm
42
43
44
45
Base class for component implementation.
Component for automatic creation of the Universally Unique Identifier (UUID)
virtual void OnComponentCreated() override
icomp::CComponentBase BaseClass
iprm::CIdParam BaseClass2
Implementation of a named object over iprm::INameParam interface.
Definition CIdParam.h:17
Interface for an ID parameter.
Definition IIdParam.h:55
Common class for all classes which objects can be archived or restored from archive.
Common interface for data model objects, which can be changed.
Definition IChangeable.h:28
Contains interfaces and implementations of flexible parameter concept.