IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces
AttributeComparisonRuleOperators.h File Reference

Predefined operators for rules allowing to compare value attributes. More...

#include <IPSDKBaseProcessing/Rule/RuleOperators.h>
#include <IPSDKBaseProcessing/Rule/Attribute/Value/AttributeComparison/RuleAttributeComparison.h>
#include <IPSDKBaseProcessing/Attribute/Value/BaseValueAttribute.h>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::processor
 Namespace agregating IPSDK base routines and classes for algorithm processing.
 

Functions

template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::operator== (const boost::shared_ptr< AttributeType1 > &pAttribute1, const boost::shared_ptr< AttributeType2 > &pAttribute2)
 Rule allowing to check whether a value attribute is equal to another.
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::isEqual (const boost::weak_ptr< AttributeType1 > &pAttribute1, const boost::weak_ptr< AttributeType2 > &pAttribute2)
 Rule allowing to check whether a value attribute is equal to another.
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::operator!= (const boost::shared_ptr< AttributeType1 > &pAttribute1, const boost::shared_ptr< AttributeType2 > &pAttribute2)
 Rule allowing to check whether a value attribute is not equal another.
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::isNotEqual (const boost::weak_ptr< AttributeType1 > &pAttribute1, const boost::weak_ptr< AttributeType2 > &pAttribute2)
 Rule allowing to check whether a value attribute is not equal another.
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::operator> (const boost::shared_ptr< AttributeType1 > &pAttribute1, const boost::shared_ptr< AttributeType2 > &pAttribute2)
 Rule allowing to check whether a value attribute is greater than another.
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::isGreater (const boost::weak_ptr< AttributeType1 > &pAttribute1, const boost::weak_ptr< AttributeType2 > &pAttribute2)
 Rule allowing to check whether a value attribute is greater than another.
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::operator< (const boost::shared_ptr< AttributeType1 > &pAttribute1, const boost::shared_ptr< AttributeType2 > &pAttribute2)
 Rule allowing to check whether a value attribute is lower than another.
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::isLower (const boost::weak_ptr< AttributeType1 > &pAttribute1, const boost::weak_ptr< AttributeType2 > &pAttribute2)
 Rule allowing to check whether a value attribute is lower than another.
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::operator>= (const boost::shared_ptr< AttributeType1 > &pAttribute1, const boost::shared_ptr< AttributeType2 > &pAttribute2)
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::isGreaterOrEqual (const boost::weak_ptr< AttributeType1 > &pAttribute1, const boost::weak_ptr< AttributeType2 > &pAttribute2)
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::operator<= (const boost::shared_ptr< AttributeType1 > &pAttribute1, const boost::shared_ptr< AttributeType2 > &pAttribute2)
 
template<typename AttributeType1 , typename AttributeType2 >
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType1::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< boost::mpl::int_< AttributeType2::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_Value > >::type, typename boost::is_same< typename AttributeType1::ValueType, typename AttributeType2::ValueType >::type >::type, RulePtr >::type ipsdk::processor::isLowerOrEqual (const boost::weak_ptr< AttributeType1 > &pAttribute1, const boost::weak_ptr< AttributeType2 > &pAttribute2)
 

Detailed Description

Predefined operators for rules allowing to compare value attributes.

Author
E. Noirfalise
Date
2016/03/15