IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseLeafValueComparisonRule.h
1 // BaseLeafValueComparisonRule.h:
3 // ------------------------------
4 //
15 
16 #ifndef __IPSDKBASEPROCESSING_BASELEAFVALUECOMPARISONRULE_H__
17 #define __IPSDKBASEPROCESSING_BASELEAFVALUECOMPARISONRULE_H__
18 
19 #include <IPSDKBaseProcessing/Rule/Attribute/DataItem/Leaf/BaseLeafRule.h>
20 
21 namespace ipsdk {
22 namespace processor {
23 
26 
28 {
29 // predefined public type
30 public:
32  static const eLeafRuleType::domain g_leafRuleType = eLeafRuleType::eLRT_LeafValueComparison;
33 
34 public:
38  virtual ~BaseLeafValueComparisonRule() = 0;
40 
41 // methods
42 public:
44  eLeafRuleType getLeafRuleType() const;
45 
47  virtual eValueComparisonRuleType getValueComparisonRuleType() const = 0;
48 
49 // attributes
50 protected:
51 
52 };
53 
56 
57 inline eLeafRuleType
59 {
60  return g_leafRuleType;
61 }
62 
65 
66 } // end of namespace processor
67 } // end of namespace ipsdk
68 
69 #endif // __IPSDKBASEPROCESSING_BASELEAFVALUECOMPARISONRULE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
eLeafRuleType
enumerate describing rule on leaf of dataitem attribute operation type
Definition: LeafRuleTypes.h:32
eValueComparisonRuleType
enumerate describing value comparison rule operation type
Definition: RuleTypes.h:56
static const eLeafRuleType::domain g_leafRuleType
attribute rule type associated to rule
Definition: BaseLeafValueComparisonRule.h:32
Base class for rules on leafs of data item attributes.
Definition: BaseLeafRule.h:27
Rule allowing to compare a leaf value with a given value.
Definition: LeafRuleTypes.h:34
Base class for rule allowing to compare leaf value of data item attributes with a given value...
Definition: BaseLeafValueComparisonRule.h:27
eLeafRuleType getLeafRuleType() const
retrieve leaf rule operation type
Definition: BaseLeafValueComparisonRule.h:58