16 #ifndef __IPSDKIMAGEPROCESSING_RULEMATCHVALUETOIMAGERANGE_H__ 17 #define __IPSDKIMAGEPROCESSING_RULEMATCHVALUETOIMAGERANGE_H__ 19 #include <IPSDKImageProcessing/Rule/Image/ImageBinaryMixed/BaseRuleMatchImageRange.h> 20 #include <IPSDKImageProcessing/Attribute/Image/BaseImageAttribute.h> 28 template <
typename AttributeType>
51 const boost::weak_ptr<const AttributeType>& pValueAttribute);
68 template <
typename AttributeType>
71 const boost::weak_ptr<const AttributeType>& pValueAttribute)
77 template <
typename AttributeType>
82 const AttributeType& valueAttribute =
static_cast<const AttributeType&
>(getAttribute2());
84 return valueAttribute.getValue();
87 template <
typename AttributeType>
92 const AttributeType& valueAttribute =
static_cast<const AttributeType&
>(getAttribute2());
94 return valueAttribute.getObjectName();
103 #endif // __IPSDKIMAGEPROCESSING_RULEMATCHVALUETOIMAGERANGE_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
std::string retrieveValueAttributeName() const
method allowing to retrieve value associated to attribute leaf in derived class
Definition: RuleMatchValueToImageRange.h:89
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
AttributeType ValueAttributeType
Value attribute type.
Definition: RuleMatchValueToImageRange.h:34
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
void initBase()
base class initialization method
Rule class allowing to check that a value is inside an image buffer type value range.
Definition: RuleMatchValueToImageRange.h:29
void init(const ImageAttributeConstWeakPtr &pImageAttribute, const boost::weak_ptr< const AttributeType > &pValueAttribute)
initialization of object
Definition: RuleMatchValueToImageRange.h:70
ipReal64 retrieveValue() const
method allowing to retrieve value associated to attribute leaf in derived class
Definition: RuleMatchValueToImageRange.h:79
Base class for rules allowing to check that a value is inside an image buffer type value range...
Definition: BaseRuleMatchImageRange.h:27