IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseOptionalRule.h
1 // BaseOptionalRule.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_BASEOPTIONALRULE_H__
16 #define __IPSDKBASEPROCESSING_BASEOPTIONALRULE_H__
17 
18 #include <IPSDKBaseProcessing/Rule/Attribute/BaseAttributeRule.h>
20 
21 namespace ipsdk {
22 namespace processor {
23 
26 
28 {
29 // predefined public type
30 public:
32  static const eAttributeRuleType::domain g_attributeRuleType = eAttributeRuleType::eART_Optional;
33 
34 public:
38  virtual ~BaseOptionalRule() = 0;
40 
41 // methods
42 public:
44  eAttributeRuleType getAttributeRuleType() const;
45 
47  virtual eOptionalRuleType getOptionalRuleType() const = 0;
48 
49 // attributes
50 protected:
51 
52 };
53 
56 
57 inline eAttributeRuleType
59 {
60  return g_attributeRuleType;
61 }
62 
65 
66 } // end of namespace processor
67 } // end of namespace ipsdk
68 
69 #endif // __IPSDKBASEPROCESSING_BASEOPTIONALRULE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Rule applied on optional attributes.
Definition: AttributeRuleTypes.h:40
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
eAttributeRuleType
enumerate describing rule on attributes operation type
Definition: AttributeRuleTypes.h:32
Base class for rules applied on attributes.
Definition: BaseAttributeRule.h:32
eOptionalRuleType
enumerate describing rule type associated to optional attributes
Definition: OptionalRuleTypes.h:32
Base class for rules on optional attributes.
Definition: BaseOptionalRule.h:27
Predefined types for rules on optional attributes management.
eAttributeRuleType getAttributeRuleType() const
retrieve attribute rule operation type
Definition: BaseOptionalRule.h:58
static const eAttributeRuleType::domain g_attributeRuleType
rule type associated to rule
Definition: BaseOptionalRule.h:32