IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Protected Member Functions | List of all members
ipsdk::processor::RuleLeafValueComparison< AttributeType, LeafType, ValueComparisonRuleType, typename boost::disable_if< typename boost::is_base_of< boost::detail::enum_base< typename LeafType::ValueType >, typename LeafType::ValueType >::type >::type > Class Template Reference
Inheritance diagram for ipsdk::processor::RuleLeafValueComparison< AttributeType, LeafType, ValueComparisonRuleType, typename boost::disable_if< typename boost::is_base_of< boost::detail::enum_base< typename LeafType::ValueType >, typename LeafType::ValueType >::type >::type >:
ipsdk::processor::BaseTLeafValueComparisonRule< LeafType::ValueType, ValueComparisonRuleType > ipsdk::processor::BaseLeafValueComparisonRule ipsdk::processor::BaseLeafRule ipsdk::processor::BaseDataItemRule 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_DataItem > >::type, typename AttributeType::ValueType >::type DataItemType
 retrieve attribute type
 
typedef boost::enable_if< typename boost::is_same< boost::mpl::int_< LeafType::g_itemType >, boost::mpl::int_< eDataItemType::eDIT_Leaf > >::type, typename LeafType::ValueType >::type ValueType
 Value type associated to leaf.
 
- Public Types inherited from ipsdk::processor::BaseTLeafValueComparisonRule< LeafType::ValueType, ValueComparisonRuleType >
typedef LeafType::ValueType ValueType
 underlying type associated to attribute
 

Public Member Functions

void init (const boost::weak_ptr< const AttributeType > &pAttribute, const ValueType &value)
 initialization of object More...
 
Constructors and destructor
 RuleLeafValueComparison ()
 
 ~RuleLeafValueComparison ()
 
- Public Member Functions inherited from ipsdk::processor::BaseTLeafValueComparisonRule< LeafType::ValueType, ValueComparisonRuleType >
eValueComparisonRuleType getValueComparisonRuleType () const
 retrieve value comparison rule operation type
 
const LeafType::ValueType & getValue () const
 retrieve value associated to rule More...
 
 BaseTLeafValueComparisonRule ()
 
virtual ~BaseTLeafValueComparisonRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseLeafValueComparisonRule
eLeafRuleType getLeafRuleType () const
 retrieve leaf rule operation type
 
 BaseLeafValueComparisonRule ()
 
virtual ~BaseLeafValueComparisonRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseLeafRule
eDataItemRuleType getDataItemRuleType () const
 retrieve data item rule operation type
 
 BaseLeafRule ()
 
virtual ~BaseLeafRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseDataItemRule
eAttributeRuleType getAttributeRuleType () const
 retrieve attribute rule operation type
 
 BaseDataItemRule ()
 
virtual ~BaseDataItemRule ()=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
 

Protected Member Functions

std::string getAttributeName () const
 method allowing to retrieve attribute name into derived class
 
ValueType getAttributeValue () const
 method allowing to retrieve attribute value into derived class
 
- Protected Member Functions inherited from ipsdk::processor::BaseTLeafValueComparisonRule< LeafType::ValueType, ValueComparisonRuleType >
void initBase (const AttributeConstWeakPtr &pAttribute, const LeafType::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
 

Additional Inherited Members

- Static Public Attributes inherited from ipsdk::processor::BaseTLeafValueComparisonRule< LeafType::ValueType, ValueComparisonRuleType >
static const eValueComparisonRuleType::domain g_valueComparisonRuleType
 value comparison rule operation type
 
- Static Public Attributes inherited from ipsdk::processor::BaseLeafValueComparisonRule
static const eLeafRuleType::domain g_leafRuleType = eLeafRuleType::eLRT_LeafValueComparison
 attribute rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::processor::BaseLeafRule
static const eDataItemRuleType::domain g_dataItemRuleType = eDataItemRuleType::eDIRT_Leaf
 data item rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::processor::BaseDataItemRule
static const eAttributeRuleType::domain g_attributeRuleType = eAttributeRuleType::eART_DataItem
 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 Attributes inherited from ipsdk::processor::BaseTLeafValueComparisonRule< LeafType::ValueType, ValueComparisonRuleType >
LeafType::ValueType _value
 value associated to rule
 

Member Function Documentation

◆ init()

template<typename AttributeType , typename LeafType , eValueComparisonRuleType::domain ValueComparisonRuleType>
void ipsdk::processor::RuleLeafValueComparison< AttributeType, LeafType, ValueComparisonRuleType, typename boost::disable_if< typename boost::is_base_of< boost::detail::enum_base< typename LeafType::ValueType >, typename LeafType::ValueType >::type >::type >::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: