16 #ifndef __IPSDKBASEPROCESSING_BASETVALUECOMPARISONRULE_H__ 17 #define __IPSDKBASEPROCESSING_BASETVALUECOMPARISONRULE_H__ 21 #pragma warning (push) 22 #pragma warning (disable : 4251) 24 #include <IPSDKBaseProcessing/Rule/Attribute/Value/ValueComparison/BaseValueComparisonRule.h> 32 template <
typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
44 static const eValueComparisonRuleType::domain g_valueComparisonRuleType = ValueComparisonRuleType;
61 const T& getValue()
const;
72 bool testRule()
const;
75 std::string createRuleFormalString()
const;
78 std::string createRuleEvaluatedString(
const ipUInt32 increment)
const;
89 template <
typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
93 return g_valueComparisonRuleType;
102 #pragma warning (pop) 104 #endif // __IPSDKBASEPROCESSING_BASETVALUECOMPARISONRULE_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
eValueComparisonRuleType getValueComparisonRuleType() const
retrieve value comparison rule operation type
Definition: BaseTValueComparisonRule.h:91
eValueComparisonRuleType
enumerate describing value comparison rule operation type
Definition: RuleTypes.h:56
BaseValueAttribute< T > BaseAttributeType
base attribute type associated to rule
Definition: BaseTValueComparisonRule.h:41
Base class for value attributes.
Definition: BaseValueAttribute.h:33
Base class for rules allowing to compare an attribute value with a given value.
Definition: BaseValueComparisonRule.h:27
Base template class for rules allowing to compare an attribute value with a given value...
Definition: BaseTValueComparisonRule.h:33
T ValueType
underlying type associated to attribute
Definition: BaseTValueComparisonRule.h:38
boost::weak_ptr< const BaseAttribute > AttributeConstWeakPtr
weak pointer to const attribute object
Definition: AttributeTypes.h:61
T _value
value associated to rule
Definition: BaseTValueComparisonRule.h:83
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53