IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseAttributeComparisonRule.h
1 // BaseAttributeComparisonRule.h:
3 // ------------------------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_BASEATTRIBUTECOMPARISONRULE_H__
16 #define __IPSDKBASEPROCESSING_BASEATTRIBUTECOMPARISONRULE_H__
17 
18 #include <IPSDKBaseProcessing/Rule/Attribute/Value/BaseValueRule.h>
19 
20 namespace ipsdk {
21 namespace processor {
22 
25 
27 {
28 // predefined public type
29 public:
31  static const eValueRuleType::domain g_valueRuleType = eValueRuleType::eVRT_AttributeComparison;
32 
33 public:
37  virtual ~BaseAttributeComparisonRule() = 0;
39 
40 // methods
41 public:
43  eValueRuleType getValueRuleType() const;
44 
46  virtual eValueComparisonRuleType getValueComparisonRuleType() const = 0;
47 
48 // attributes
49 protected:
50 
51 };
52 
55 
56 inline eValueRuleType
58 {
59  return g_valueRuleType;
60 }
61 
64 
65 } // end of namespace processor
66 } // end of namespace ipsdk
67 
68 #endif // __IPSDKBASEPROCESSING_BASEATTRIBUTECOMPARISONRULE_H__
eValueRuleType getValueRuleType() const
retrieve value rule operation type
Definition: BaseAttributeComparisonRule.h:57
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
eValueComparisonRuleType
enumerate describing value comparison rule operation type
Definition: RuleTypes.h:56
static const eValueRuleType::domain g_valueRuleType
attribute rule type associated to rule
Definition: BaseAttributeComparisonRule.h:31
eValueRuleType
enumerate describing rule on value attribute operation type
Definition: ValueRuleTypes.h:33
Base class for rules on value attributes.
Definition: BaseValueRule.h:27
Base class for rules allowing to compare attributes value.
Definition: BaseAttributeComparisonRule.h:26
Rule allowing to compare two attributes value.
Definition: ValueRuleTypes.h:37