CElementSelectionInfoManagerBase.h
Go to the documentation of this file.
1 #ifndef icmpstr_CElementSelectionInfoManagerBase_included
2 #define icmpstr_CElementSelectionInfoManagerBase_included
3 
4 
5 // ACF includes
6 #include <istd/TDelPtr.h>
7 #include <istd/CClassInfo.h>
8 
10 
11 #include <icomp/IMetaInfoManager.h>
12 #include <icomp/IRegistryElement.h>
13 
17 
18 
19 namespace icmpstr
20 {
21 
22 
27  public imod::TSingleModelObserverBase<IElementSelectionInfo>
28 {
29 public:
31 
33 
35  QStringList GetExportAliases(const QByteArray& attributeName) const;
36  const iser::IObject* GetAttributeObject(const QByteArray& attributeId, const icomp::IRegistry::ElementInfo& elementInfo) const;
37  const icomp::IAttributeStaticInfo* GetAttributeStaticInfo(const QByteArray& attributeId, const icomp::IRegistry::ElementInfo& elementInfo) const;
38 
39  // abstract methods
40  virtual const icomp::IMetaInfoManager* GetMetaInfoManagerPtr() const = 0;
41  virtual const icmpstr::IRegistryConsistInfo* GetConsistencyInfoPtr() const = 0;
42 };
43 
44 
45 } // namespace icmpstr
46 
47 
48 #endif // !icmpstr_CElementSelectionInfoManagerBase_included
49 
Base class for all components depending of meta information in current selected registry context...
virtual const icmpstr::IRegistryConsistInfo * GetConsistencyInfoPtr() const =0
imod::TSingleModelObserverBase< IElementSelectionInfo > BaseClass
QStringList GetExportAliases(const QByteArray &attributeName) const
const iser::IObject * GetAttributeObject(const QByteArray &attributeId, const icomp::IRegistry::ElementInfo &elementInfo) const
virtual const icomp::IMetaInfoManager * GetMetaInfoManagerPtr() const =0
icomp::IRegistry * GetRegistry() const
const icomp::IAttributeStaticInfo * GetAttributeStaticInfo(const QByteArray &attributeId, const icomp::IRegistry::ElementInfo &elementInfo) const

© 2007-2017 Witold Gantzke and Kirill Lepskiy