#include <IRegistryConsistInfo.h>
Public Types | |
enum | QueryFlags { QF_NONE = 0, QF_ANY_INTERFACE = 1 << 0, QF_INCLUDE_UNDEFINED = 1 << 1, QF_INCLUDE_SUBELEMENTS = 1 << 2, QF_DETACHED_FROM_CONTAINER = 1 << 3 } |
Public Member Functions | |
virtual icomp::IRegistry::Ids | GetCompatibleElements (const icomp::IElementStaticInfo::Ids &interfaceNames, const icomp::IRegistry ®istry, int queryFlags=QF_NONE) const =0 |
Get list of compatible element names. More... | |
virtual bool | IsRegistryValid (const icomp::IRegistry ®istry, bool ignoreUndef, bool allReasons, ilog::IMessageConsumer *reasonConsumerPtr) const =0 |
Check if registry is valid. More... | |
virtual bool | IsElementValid (const QByteArray &elementName, const icomp::IRegistry ®istry, bool ignoreUndef, bool allReasons, ilog::IMessageConsumer *reasonConsumerPtr) const =0 |
Check if element is valid. More... | |
virtual bool | IsAttributeValid (const QByteArray &attributeName, const QByteArray &elementName, const icomp::IRegistry ®istry, bool ignoreUndef, bool allReasons, ilog::IMessageConsumer *reasonConsumerPtr, const icomp::IComponentStaticInfo *componentMetaInfoPtr=NULL) const =0 |
Check if attribute is valid. More... | |
virtual bool | IsAttributeValueValid (int attributeFlags, const QByteArray &attributeText, const icomp::IElementStaticInfo::Ids &interfaceNames, const icomp::IElementStaticInfo::Ids &optionalInterfaceNames, const icomp::IRegistry ®istry, bool ignoreUndef, ilog::IMessageConsumer *reasonConsumerPtr) const =0 |
Check if attribute is valid. More... | |
virtual QIcon | GetComponentIcon (const icomp::CComponentAddress &address) const =0 |
Get icon of component. More... | |
Definition at line 22 of file IRegistryConsistInfo.h.
Definition at line 25 of file IRegistryConsistInfo.h.
|
pure virtual |
Get list of compatible element names.
interfaceNames | list of interfaces must be implemented. |
registry | registry will be looked in. |
Implemented in icmpstr::CRegistryConsistInfoComp.
|
pure virtual |
Get icon of component.
Implemented in icmpstr::CRegistryConsistInfoComp.
|
pure virtual |
Check if attribute is valid.
attributeName | name of attribute in specified registry element. |
elementName | name of registry element in specified registry. |
registry | registry object. |
ignoreUndef | if true, undefined elements will be ignored. |
allReasons | if true, all reasons will be explained. |
reasonConsumerPtr | optional consumer of messages explaining reason of calculated result. |
componentMetaInfoPtr | optional component meta info (e.g used for providing meta info of embedded components). |
Implemented in icmpstr::CRegistryConsistInfoComp.
|
pure virtual |
Check if attribute is valid.
refererenceGoal | text of reference value. |
isFactory | true if the relationship type is factory. |
registry | registry object. |
ignoreUndef | if true, undefined elements will be ignored. |
allReasons | if true, all reasons will be explained. |
reasonConsumerPtr | optional consumer of messages explaining reason of calculated result. |
componentMetaInfoPtr | optional component meta info (e.g used for providing meta info of embedded components). |
Implemented in icmpstr::CRegistryConsistInfoComp.
|
pure virtual |
Check if element is valid.
attributeName | name of registry element in specified registry. |
registry | registry object. |
ignoreUndef | if true, undefined elements will be ignored. |
allReasons | if true, all reasons will be explained. |
reasonConsumerPtr | optional consumer of messages explaining reason of calculated result. |
Implemented in icmpstr::CRegistryConsistInfoComp.
|
pure virtual |
Check if registry is valid.
A registry is invalid when it contains unresolved component references.
registry | registry object. |
ignoreUndef | if true, undefined elements will be ignored. |
allReasons | if true, all reasons will be explained. |
reasonConsumerPtr | optional consumer of messages explaining reason of calculated result. |
Implemented in icmpstr::CRegistryConsistInfoComp.
© 2007-2017 Witold Gantzke and Kirill Lepskiy