15 #ifndef __IPSDKIMAGEPROCESSING_RULEIPENUMVALUE_H__ 16 #define __IPSDKIMAGEPROCESSING_RULEIPENUMVALUE_H__ 18 #include <IPSDKImageProcessing/Rule/IPEnum/BaseIPEnumRule.h> 19 #include <IPSDKImageProcessing/Attribute/IPEnum/IPEnumAttribute.h> 27 template <
typename EnumType>
33 typedef EnumType EnumerateType;
39 typedef boost::weak_ptr<const AttributeType> AttributeConstWeakPtr;
52 void init(
const AttributeConstWeakPtr& pAttribute,
53 const EnumType& enumValue)
96 #endif // __IPSDKIMAGEPROCESSING_RULEIPENUMVALUE_H__ bool testRule() const
test whether rule is satisfied
Definition: RuleIPEnumValue.h:61
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
const BaseAttribute & getAttribute1() const
retrieve first attribute associated to object
void initBase()
base class initialization method
EnumType _enumValue
enumerate value associated to rule
Definition: RuleIPEnumValue.h:87
Definition: RuleIPEnumValue.h:28
std::string getAttributeValue() const
retrieve string associated to attribute value
Definition: RuleIPEnumValue.h:76
Base class for rules on image processing enumerates.
Definition: BaseIPEnumRule.h:29
Template base class for attributes associated to image processing enumerates.
Definition: ImageBufferTypeAttributeTypes.h:26
std::string getTargetValue() const
retrieve string associated to target value
Definition: RuleIPEnumValue.h:70
virtual EnumType getValue() const =0
get value associated to attribute
void init(const AttributeConstWeakPtr &pAttribute, const EnumType &enumValue)
initialization of object
Definition: RuleIPEnumValue.h:52