IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | List of all members
ipsdk::processor::RuleValueComparison< AttributeType, ValueComparisonRuleType > Class Template Reference

Concrete class for rules allowing to compare an attribute value with a given value. More...

#include <RuleValueComparison.h>

Inheritance diagram for ipsdk::processor::RuleValueComparison< AttributeType, ValueComparisonRuleType >:
ipsdk::processor::BaseTValueComparisonRule< AttributeType::ValueType, ValueComparisonRuleType > ipsdk::processor::BaseValueComparisonRule ipsdk::processor::BaseValueRule ipsdk::processor::BaseAttributeRule ipsdk::processor::BaseRule

Public Types

typedef boost::enable_if< typename boost::is_same< boost::mpl::int_< AttributeType::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename AttributeType::ValueType >::type ValueType
 retrieve attribute type
 
- Public Types inherited from ipsdk::processor::BaseTValueComparisonRule< AttributeType::ValueType, ValueComparisonRuleType >
typedef AttributeType::ValueType ValueType
 underlying type associated to attribute
 
typedef BaseValueAttribute< AttributeType::ValueType > BaseAttributeType
 base attribute type associated to rule
 

Public Member Functions

void init (const boost::weak_ptr< const AttributeType > &pAttribute, const ValueType &value)
 initialization of object More...
 
Constructors and destructor
 RuleValueComparison ()
 
 ~RuleValueComparison ()
 
- Public Member Functions inherited from ipsdk::processor::BaseTValueComparisonRule< AttributeType::ValueType, ValueComparisonRuleType >
eValueComparisonRuleType getValueComparisonRuleType () const
 retrieve value comparison rule operation type
 
const AttributeType::ValueType & getValue () const
 retrieve value associated to rule More...
 
 BaseTValueComparisonRule ()
 
virtual ~BaseTValueComparisonRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseValueComparisonRule
eValueRuleType getValueRuleType () const
 retrieve value rule operation type
 
 BaseValueComparisonRule ()
 
virtual ~BaseValueComparisonRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseValueRule
eAttributeRuleType getAttributeRuleType () const
 retrieve attribute rule operation type
 
 BaseValueRule ()
 
virtual ~BaseValueRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseAttributeRule
eRuleType getRuleType () const
 retrieve rule type
 
bool hasSecondAttribute () const
 check whether a second attribute is associated to rule More...
 
const BaseAttributegetAttribute1 () const
 retrieve first attribute associated to object More...
 
const BaseAttributegetAttribute2 () const
 retrieve second attribute associated to object More...
 
 BaseAttributeRule ()
 
virtual ~BaseAttributeRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseRule
bool isInit () const
 retrieve object initialization flag
 
BoolResult isSatisfied () const
 test whether rule is satisfied More...
 
std::string getRuleFormalString () const
 retrieve string expliciting rule content More...
 
std::string getRuleEvaluatedString () const
 retrieve rule evaluation string More...
 
 BaseRule ()
 
virtual ~BaseRule ()=0
 

Additional Inherited Members

- Static Public Attributes inherited from ipsdk::processor::BaseTValueComparisonRule< AttributeType::ValueType, ValueComparisonRuleType >
static const eValueComparisonRuleType::domain g_valueComparisonRuleType
 value comparison rule operation type
 
- Static Public Attributes inherited from ipsdk::processor::BaseValueComparisonRule
static const eValueRuleType::domain g_valueRuleType = eValueRuleType::eVRT_ValueComparison
 attribute rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::processor::BaseValueRule
static const eAttributeRuleType::domain g_attributeRuleType = eAttributeRuleType::eART_Value
 attribute rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::processor::BaseAttributeRule
static const eRuleType::domain g_ruleType = eRuleType::eRT_Attribute
 rule type associated to rule
 
- Protected Member Functions inherited from ipsdk::processor::BaseTValueComparisonRule< AttributeType::ValueType, ValueComparisonRuleType >
void initBase (const AttributeConstWeakPtr &pAttribute, const AttributeType::ValueType &value)
 base class initilization method More...
 
- Protected Member Functions inherited from ipsdk::processor::BaseAttributeRule
void initBase (const AttributeConstWeakPtr &pAttribute)
 base class initialization More...
 
void initBase (const AttributeConstWeakPtr &pAttribute1, const AttributeConstWeakPtr &pAttribute2)
 base class initialization More...
 
- Protected Member Functions inherited from ipsdk::processor::BaseRule
void initBase ()
 base class initialization method
 
std::string createRuleEvaluatedStartString (const ipUInt32 increment) const
 method allowing to create a rule evaluation starting string
 
- Protected Attributes inherited from ipsdk::processor::BaseTValueComparisonRule< AttributeType::ValueType, ValueComparisonRuleType >
AttributeType::ValueType _value
 value associated to rule
 

Detailed Description

template<typename AttributeType, eValueComparisonRuleType::domain ValueComparisonRuleType>
class ipsdk::processor::RuleValueComparison< AttributeType, ValueComparisonRuleType >

Concrete class for rules allowing to compare an attribute value with a given value.

Author
E. Noirfalise
Date
2016/03/15

Member Function Documentation

◆ init()

template<typename AttributeType , eValueComparisonRuleType::domain ValueComparisonRuleType>
void ipsdk::processor::RuleValueComparison< AttributeType, ValueComparisonRuleType >::init ( const boost::weak_ptr< const AttributeType > &  pAttribute,
const ValueType value 
)
inline

initialization of object

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif pAttribute.get() == 0

The documentation for this class was generated from the following file: