IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ipsdk::processor::RuleIf Class Reference

Rule allowing to check a conditional condition. More...

#include <RuleIf.h>

Inheritance diagram for ipsdk::processor::RuleIf:
ipsdk::processor::BaseTernaryCombinationRule ipsdk::processor::BaseCombinationRule ipsdk::processor::BaseRule

Public Member Functions

eCombinationRuleType getCombinationRuleType () const
 retrieve combination rule operation type
 
Constructors and destructors
 RuleIf ()
 
 ~RuleIf ()
 
- Public Member Functions inherited from ipsdk::processor::BaseTernaryCombinationRule
void init (const RulePtr &pRule1, const RulePtr &pRule2, const RulePtr &pRule3)
 initialize object More...
 
 BaseTernaryCombinationRule ()
 
virtual ~BaseTernaryCombinationRule ()=0
 
const BaseRulegetRule1 () const
 retrieve rules associated to ternary operation More...
 
const BaseRulegetRule2 () const
 retrieve rules associated to ternary operation More...
 
const BaseRulegetRule3 () const
 retrieve rules associated to ternary operation More...
 
- Public Member Functions inherited from ipsdk::processor::BaseCombinationRule
eRuleType getRuleType () const
 retrieve rule type
 
 BaseCombinationRule ()
 
virtual ~BaseCombinationRule ()=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 eCombinationRuleType::domain g_combinationRuleType = eCombinationRuleType::eCRT_If
 rule type associated to rule
 
- Static Public Attributes inherited from ipsdk::processor::BaseCombinationRule
static const eRuleType::domain g_ruleType = eRuleType::eRT_Combination
 rule type associated to rule
 

Protected Member Functions

bool testRule (const BaseRule &rule1, const BaseRule &rule2, const BaseRule &rule3) const
 test whether rule is satisfied in derived class
 
std::string createRuleFormalString () const
 retrieve string expliciting rule content
 
std::string createRuleEvaluatedString (const ipUInt32 increment) const
 retrieve rule evaluation string
 
- 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
 

Detailed Description

Rule allowing to check a conditional condition.

Author
E. Noirfalise
Date
2013/8/8

This rule can be expressed as if(predicate, ruleTrue, ruleFalse). The three arguments predicate, ruleTrue and ruleFalse are three rules.


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