IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseNodesCollSizeRule.h
1 // BaseNodesCollSizeRule.h:
3 // ------------------------
4 //
15 
16 #ifndef __IPSDKBASEPROCESSING_BASENODESCOLLSIZERULE_H__
17 #define __IPSDKBASEPROCESSING_BASENODESCOLLSIZERULE_H__
18 
19 #include <IPSDKBaseProcessing/Rule/Attribute/DataItem/NodeColl/BaseNodeCollRule.h>
20 
21 namespace ipsdk {
22 namespace processor {
23 
26 
28 {
29 // predefined public type
30 public:
32  static const eNodeCollRuleType::domain g_nodeCollRuleType = eNodeCollRuleType::eNCRT_CollComparison;
33 
35  static const eCollPropertyRuleType::domain g_collPropertyRuleType = eCollPropertyRuleType::eCPRT_Size;
36 
37 public:
41  virtual ~BaseNodesCollSizeRule() = 0;
43 
44 // methods
45 public:
47  eNodeCollRuleType getNodeCollRuleType() const;
48 
50  eCollPropertyRuleType getCollPropertyRuleType() const;
51 
53  virtual eValueComparisonRuleType getValueComparisonRuleType() const = 0;
54 
55 // attributes
56 protected:
57 
58 };
59 
62 
63 inline eNodeCollRuleType
65 {
66  return g_nodeCollRuleType;
67 }
68 
71 {
73 }
74 
77 
78 } // end of namespace processor
79 } // end of namespace ipsdk
80 
81 #endif // __IPSDKBASEPROCESSING_BASENODESCOLLSIZERULE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
eNodeCollRuleType
enumerate describing rule on node collection attribute operation type
Definition: NodeCollRuleTypes.h:33
Base class for rules on node collections of data item attributes.
Definition: BaseNodeCollRule.h:27
eValueComparisonRuleType
enumerate describing value comparison rule operation type
Definition: RuleTypes.h:56
static const eCollPropertyRuleType::domain g_collPropertyRuleType
attribute rule type associated to rule
Definition: BaseNodesCollSizeRule.h:35
Base class for rules on size of node collections of data item attributes.
Definition: BaseNodesCollSizeRule.h:27
Rule allowing to compare collections.
Definition: NodeCollRuleTypes.h:35
check informations about collection size
Definition: RuleTypes.h:94
static const eNodeCollRuleType::domain g_nodeCollRuleType
collection rule type associated to rule
Definition: BaseNodesCollSizeRule.h:32
eCollPropertyRuleType
enumerate describing collection property rule operation type
Definition: RuleTypes.h:92
eCollPropertyRuleType getCollPropertyRuleType() const
retrieve collection property rule operation type
Definition: BaseNodesCollSizeRule.h:70
eNodeCollRuleType getNodeCollRuleType() const
retrieve collection node collection rule operation type
Definition: BaseNodesCollSizeRule.h:64