![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Base class for rules applied on attributes. More...
#include <BaseAttributeRule.h>
Public Member Functions | |
| eRuleType | getRuleType () const |
| retrieve rule type | |
| virtual eAttributeRuleType | getAttributeRuleType () const =0 |
| retrieve attribute rule operation type | |
| bool | hasSecondAttribute () const |
| check whether a second attribute is associated to rule More... | |
| const BaseAttribute & | getAttribute1 () const |
| retrieve first attribute associated to object More... | |
| const BaseAttribute & | getAttribute2 () const |
| retrieve second attribute associated to object More... | |
Constructors and destructor | |
| BaseAttributeRule () | |
| virtual | ~BaseAttributeRule ()=0 |
Public Member Functions inherited from ipsdk::processor::BaseRule | |
| bool | isInit () const |
| retrieve object initialization flag | |
| BoolResult | isSatisfied () const |
| test whether rule is satisfied More... | |
| std::string | getRuleFormalString () const |
| retrieve string expliciting rule content More... | |
| std::string | getRuleEvaluatedString () const |
| retrieve rule evaluation string More... | |
| BaseRule () | |
| virtual | ~BaseRule ()=0 |
Static Public Attributes | |
| static const eRuleType::domain | g_ruleType = eRuleType::eRT_Attribute |
| rule type associated to rule | |
Protected Member Functions | |
| void | initBase (const AttributeConstWeakPtr &pAttribute) |
| base class initialization More... | |
| void | initBase (const AttributeConstWeakPtr &pAttribute1, const AttributeConstWeakPtr &pAttribute2) |
| base class initialization More... | |
Protected Member Functions inherited from ipsdk::processor::BaseRule | |
| void | initBase () |
| base class initialization method | |
| std::string | createRuleEvaluatedStartString (const ipUInt32 increment) const |
| method allowing to create a rule evaluation starting string | |
| virtual bool | testRule () const =0 |
| test whether rule is satisfied | |
| virtual std::string | createRuleFormalString () const =0 |
| retrieve string expliciting rule content | |
| virtual std::string | createRuleEvaluatedString (const ipUInt32 increment) const =0 |
| retrieve rule evaluation string | |
Base class for rules applied on attributes.
| bool ipsdk::processor::BaseAttributeRule::hasSecondAttribute | ( | ) | const |
check whether a second attribute is associated to rule
| ipsdk::processor::IPSDKBaseProcessingException | if isInit() == false |
| const BaseAttribute& ipsdk::processor::BaseAttributeRule::getAttribute1 | ( | ) | const |
retrieve first attribute associated to object
| ipsdk::processor::IPSDKBaseProcessingException | if isInit() == false |
| const BaseAttribute& ipsdk::processor::BaseAttributeRule::getAttribute2 | ( | ) | const |
retrieve second attribute associated to object
| ipsdk::processor::IPSDKBaseProcessingException | if hasSecondAttribute() == false |
|
protected |
base class initialization
| ipsdk::processor::IPSDKBaseProcessingException | if pAttribute.get() == 0 |
|
protected |
base class initialization
| ipsdk::processor::IPSDKBaseProcessingException | if pAttribute1.get() == 0 |
| ipsdk::processor::IPSDKBaseProcessingException | if pAttribute2.get() == 0 |
1.8.14