15 #ifndef __IPSDKBASEPROCESSING_BASETLEAFCOLLVALUECOMPARISONRULE_H__ 16 #define __IPSDKBASEPROCESSING_BASETLEAFCOLLVALUECOMPARISONRULE_H__ 20 #pragma warning (push) 21 #pragma warning (disable : 4251) 23 #include <IPSDKBaseProcessing/Rule/Attribute/DataItem/LeafColl/LeafCollValueComparison/BaseLeafCollValueComparisonRule.h> 31 template <
typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
43 static const eValueComparisonRuleType::domain g_valueComparisonRuleType = ValueComparisonRuleType;
60 const T& getValue()
const;
70 virtual std::string getAttributeName()
const = 0;
73 virtual const LeafCollType& getAttributeLeafColl()
const = 0;
77 bool testRule()
const;
80 std::string createRuleFormalString()
const;
83 std::string createRuleEvaluatedString(
const ipUInt32 increment)
const;
94 template <
typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
98 return g_valueComparisonRuleType;
107 #pragma warning (pop) 109 #endif // __IPSDKBASEPROCESSING_BASETLEAFCOLLVALUECOMPARISONRULE_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
std::vector< T > LeafCollType
underlying collection type associated to attribute
Definition: BaseTLeafCollValueComparisonRule.h:40
eValueComparisonRuleType getValueComparisonRuleType() const
retrieve value comparison rule operation type
Definition: BaseTLeafCollValueComparisonRule.h:96
T _value
value associated to rule
Definition: BaseTLeafCollValueComparisonRule.h:88
T ValueType
underlying type associated to attribute
Definition: BaseTLeafCollValueComparisonRule.h:37
Definition: BaseTLeafCollValueComparisonRule.h:32
Base class for rule allowing to compare leaf collection value of data item attributes with a given va...
Definition: BaseLeafCollValueComparisonRule.h:27
boost::weak_ptr< const BaseAttribute > AttributeConstWeakPtr
weak pointer to const attribute object
Definition: AttributeTypes.h:61
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53