IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseValueComparisonRule.h
1 // BaseValueComparisonRule.h:
3 // --------------------------
4 //
15 
16 #ifndef __IPSDKBASEPROCESSING_BASEVALUECOMPARISONRULE_H__
17 #define __IPSDKBASEPROCESSING_BASEVALUECOMPARISONRULE_H__
18 
19 #include <IPSDKBaseProcessing/Rule/Attribute/Value/BaseValueRule.h>
20 
21 namespace ipsdk {
22 namespace processor {
23 
26 
28 {
29 // predefined public type
30 public:
32  static const eValueRuleType::domain g_valueRuleType = eValueRuleType::eVRT_ValueComparison;
33 
34 public:
38  virtual ~BaseValueComparisonRule() = 0;
40 
41 // methods
42 public:
44  eValueRuleType getValueRuleType() const;
45 
47  virtual eValueComparisonRuleType getValueComparisonRuleType() const = 0;
48 
49 // attributes
50 protected:
51 
52 };
53 
56 
57 inline eValueRuleType
59 {
60  return g_valueRuleType;
61 }
62 
65 
66 } // end of namespace processor
67 } // end of namespace ipsdk
68 
69 #endif // __IPSDKBASEPROCESSING_BASEVALUECOMPARISONRULE_H__
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
Rule allowing to compare an attribute value with a given value.
Definition: ValueRuleTypes.h:35
eValueRuleType
enumerate describing rule on value attribute operation type
Definition: ValueRuleTypes.h:33
static const eValueRuleType::domain g_valueRuleType
attribute rule type associated to rule
Definition: BaseValueComparisonRule.h:32
Base class for rules on value attributes.
Definition: BaseValueRule.h:27
Base class for rules allowing to compare an attribute value with a given value.
Definition: BaseValueComparisonRule.h:27
eValueRuleType getValueRuleType() const
retrieve value rule operation type
Definition: BaseValueComparisonRule.h:58