ICF 3.1.1.10
Technical documentation of ICF Libraries
CIdParamComp.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iprm_CIdParamComp_included
7#define iprm_CIdParamComp_included
8
9
10// ICF includes
12#include <iprm/CIdParam.h>
13
14
15namespace iprm
16{
17
18
24 public iprm::CIdParam
25{
26public:
29
30 I_BEGIN_COMPONENT(CIdParamComp);
31 I_REGISTER_INTERFACE(iprm::IIdParam);
32 I_REGISTER_INTERFACE(iser::ISerializable);
33 I_REGISTER_INTERFACE(istd::IChangeable);
34 I_ASSIGN(m_defaultIdAttrPtr, "DefaultId", "Default ID", false, "");
35 I_END_COMPONENT;
36
37protected:
38 // reimplemented (icomp::CComponentBase)
39 void OnComponentCreated() override;
40
41private:
42 I_ATTR(QByteArray, m_defaultIdAttrPtr);
43};
44
45
46} // namespace iprm
47
48
49#endif // !iprm_CIdParamComp_included
50
51
Base class for component implementation.
Component for automatic creation of the Universally Unique Identifier (UUID)
iprm::CIdParam BaseClass2
icomp::CComponentBase BaseClass
void OnComponentCreated() override
Implementation of a named object over iprm::INameParam interface.
Definition CIdParam.h:22
Interface for an ID-parameter.
Definition IIdParam.h:25
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:32
Contains interfaces and implementations of flexible parameter concept.

© Witold Gantzke and Kirill Lepskiy