IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ipsdk::processor::BaseTLeafCollValueComparisonRule< T, ValueComparisonRuleType > Class Template Referenceabstract

#include <BaseTLeafCollValueComparisonRule.h>

Inheritance diagram for ipsdk::processor::BaseTLeafCollValueComparisonRule< T, ValueComparisonRuleType >:
ipsdk::processor::BaseLeafCollValueComparisonRule ipsdk::processor::BaseLeafCollRule ipsdk::processor::BaseDataItemRule ipsdk::processor::BaseAttributeRule ipsdk::processor::BaseRule

Public Types

typedef T ValueType
 underlying type associated to attribute
 
typedef std::vector< T > LeafCollType
 underlying collection type associated to attribute
 

Public Member Functions

eValueComparisonRuleType getValueComparisonRuleType () const
 retrieve value comparison rule operation type
 
const T & getValue () const
 retrieve value associated to rule More...
 
Constructors and destructor
 BaseTLeafCollValueComparisonRule ()
 
virtual ~BaseTLeafCollValueComparisonRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseLeafCollValueComparisonRule
eLeafCollRuleType getLeafCollRuleType () const
 retrieve leaf collection rule operation type
 
 BaseLeafCollValueComparisonRule ()
 
virtual ~BaseLeafCollValueComparisonRule ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseLeafCollRule
eDataItemRuleType getDataItemRuleType () const
 retrieve data item rule operation type
 
 BaseLeafCollRule ()
 
virtual ~BaseLeafCollRule ()=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
 

Static Public Attributes

static const eValueComparisonRuleType::domain g_valueComparisonRuleType = ValueComparisonRuleType
 value comparison rule operation type
 
- Static Public Attributes inherited from ipsdk::processor::BaseLeafCollValueComparisonRule
static const eLeafCollRuleType::domain g_leafCollRuleType = eLeafCollRuleType::eLCRT_ValuesComparison
 attribute rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::processor::BaseLeafCollRule
static const eDataItemRuleType::domain g_dataItemRuleType = eDataItemRuleType::eDIRT_LeafColl
 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 Member Functions

void initBase (const AttributeConstWeakPtr &pAttribute, const T &value)
 base class initilization method More...
 
virtual std::string getAttributeName () const =0
 method allowing to retrieve attribute name into derived class
 
virtual const LeafCollTypegetAttributeLeafColl () const =0
 method allowing to retrieve attribute leaf value collection into derived class
 
- 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

_value
 value associated to rule
 

Detailed Description

template<typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
class ipsdk::processor::BaseTLeafCollValueComparisonRule< T, ValueComparisonRuleType >

Author
E.Noirfalise
Date
2016/11/03

Member Function Documentation

◆ getValue()

template<typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
const T& ipsdk::processor::BaseTLeafCollValueComparisonRule< T, ValueComparisonRuleType >::getValue ( ) const

retrieve value associated to rule

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif isInit() == false

◆ initBase()

template<typename T, eValueComparisonRuleType::domain ValueComparisonRuleType>
void ipsdk::processor::BaseTLeafCollValueComparisonRule< T, ValueComparisonRuleType >::initBase ( const AttributeConstWeakPtr pAttribute,
const T &  value 
)
protected

base class initilization method

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

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