IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseDataItemRule.h
1 // BaseDataItemRule.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_BASEDATAITEMRULE_H__
16 #define __IPSDKBASEPROCESSING_BASEDATAITEMRULE_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_DataItem;
33 
34 public:
38  virtual ~BaseDataItemRule() = 0;
40 
41 // methods
42 public:
44  eAttributeRuleType getAttributeRuleType() const;
45 
47  virtual eDataItemRuleType getDataItemRuleType() 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_BASEDATAITEMRULE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#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
Base class for rules on data item attributes.
Definition: BaseDataItemRule.h:27
static const eAttributeRuleType::domain g_attributeRuleType
attribute rule type associated to rule
Definition: BaseDataItemRule.h:32
eAttributeRuleType getAttributeRuleType() const
retrieve attribute rule operation type
Definition: BaseDataItemRule.h:58
eDataItemRuleType
enumerate describing rule on data item attribute operation type
Definition: DataItemRuleTypes.h:33
Rule applied on a data item.
Definition: AttributeRuleTypes.h:36
Predefined types for rules on data item attributes management.