16 #ifndef __IPSDKBASEPROCESSING_BASETLEAFPROPERTYRULE_H__ 17 #define __IPSDKBASEPROCESSING_BASETLEAFPROPERTYRULE_H__ 19 #include <IPSDKBaseProcessing/Rule/Attribute/DataItem/Leaf/LeafProperty/BaseLeafPropertyRule.h> 27 template <
typename T, eValuePropertyRuleType::domain ValuePropertyRuleType>
36 static const eValuePropertyRuleType::domain g_valuePropertyRuleType = ValuePropertyRuleType;
52 virtual std::string getAttributeName()
const = 0;
55 virtual const T& getAttributeValue()
const = 0;
59 bool testRule()
const;
62 std::string createRuleFormalString()
const;
65 std::string createRuleEvaluatedString(
const ipUInt32 increment)
const;
75 template <
typename T, eValuePropertyRuleType::domain ValuePropertyRuleType>
79 return g_valuePropertyRuleType;
88 #endif // __IPSDKBASEPROCESSING_BASETLEAFPROPERTYRULE_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
eValuePropertyRuleType getValuePropertyRuleType() const
retrieve value property rule operation type
Definition: BaseTLeafPropertyRule.h:77
Base template class for rule allowing to check properties of leafs of data item attributes.
Definition: BaseTLeafPropertyRule.h:28
Base class for rule allowing to check properties of leafs of data item attributes.
Definition: BaseLeafPropertyRule.h:27
T ValueType
underlying type associated to attribute
Definition: BaseTLeafPropertyRule.h:33
eValuePropertyRuleType
enumerate describing value property rule operation type
Definition: RuleTypes.h:78
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53