CReferenceAttribute.h
Go to the documentation of this file.
1 #ifndef icomp_CReferenceAttribute_included
2 #define icomp_CReferenceAttribute_included
3 
4 
5 // Qt includes
6 #include <QtCore/QByteArray>
7 
8 // ACF includes
9 #include <iattr/TAttribute.h>
11 
12 
13 namespace icomp
14 {
15 
16 
21 {
22 public:
24 
26  {
29  };
30 
32  CReferenceAttribute(const CReferenceAttribute& attribute);
33  explicit CReferenceAttribute(const QByteArray& value);
34 
35  // reimplemented (iser::IObject)
36  QByteArray GetFactoryId() const;
37 
38  // static methods
39  static QByteArray GetTypeName();
40 };
41 
42 
43 } // namespace icomp
44 
45 
46 #endif // !icomp_CReferenceAttribute_included
47 
48 
static QByteArray GetTypeName()
Attribute is reference to another component.
QByteArray GetFactoryId() const
iattr::CIdAttribute BaseClass
Active if user declared this attribute as obligatory.
Template implementation of single component attribute.
Definition: TAttribute.h:25
Special attribute used to store referenced component ID.
Active if this attribute can be unset (null).

© 2007-2017 Witold Gantzke and Kirill Lepskiy