16 #ifndef __IPSDKBASEPROCESSING_BASETLEAFSCOMPARISONRULE_H__ 17 #define __IPSDKBASEPROCESSING_BASETLEAFSCOMPARISONRULE_H__ 19 #include <IPSDKBaseProcessing/Rule/Attribute/DataItem/Leaf/LeafsComparison/BaseLeafsComparisonRule.h> 27 template <
typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
36 static const eValueComparisonRuleType::domain g_valueComparisonRuleType = ValueComparisonRuleType;
53 virtual std::string getAttribute1Name()
const = 0;
54 virtual std::string getAttribute2Name()
const = 0;
59 virtual const T& getAttribute1Value()
const = 0;
60 virtual const T& getAttribute2Value()
const = 0;
65 bool testRule()
const;
68 std::string createRuleFormalString()
const;
71 std::string createRuleEvaluatedString(
const ipUInt32 increment)
const;
81 template <
typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
85 return g_valueComparisonRuleType;
94 #endif // __IPSDKBASEPROCESSING_BASETLEAFSCOMPARISONRULE_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
eValueComparisonRuleType
enumerate describing value comparison rule operation type
Definition: RuleTypes.h:56
eValueComparisonRuleType getValueComparisonRuleType() const
retrieve value comparison rule operation type
Definition: BaseTLeafsComparisonRule.h:83
Base template class for rule allowing to compare leaf values of data item attributes.
Definition: BaseTLeafsComparisonRule.h:28
Base class for rule allowing to compare leaf values of data item attributes.
Definition: BaseLeafsComparisonRule.h:27
T ValueType
underlying type associated to attribute
Definition: BaseTLeafsComparisonRule.h:33
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53