IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RulePlanIndexedMatchOther.h
1 // RulePlanIndexedMatchOther.h:
3 // ----------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_RULEPLANINDEXEDMATCHOTHER_H__
17 #define __IPSDKIMAGEPROCESSING_RULEPLANINDEXEDMATCHOTHER_H__
18 
19 // suppression warnings
20 //
21 #pragma warning (push)
22 //#pragma warning (disable : 4251)
23 
24 #include <IPSDKImageProcessing/Rule/PlanIndexed/BasePlanIndexedRule.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 
31 
33 {
34 // predefined public types
35 public:
36  // plan indexed rule type
37  static const ePlanIndexedRuleType::domain g_planIndexedRuleType = ePlanIndexedRuleType::ePIRT_MatchOther;
38 
39 public:
45 
46 // methods
47 public:
49  ePlanIndexedRuleType getPlanIndexedRuleType() const;
50 
54  void init(const PlanIndexedAttributeConstWeakPtr& pPlanIndexedAttribute,
55  const PlanIndexedAttributeConstWeakPtr& pOtherAttribute);
56 
57 protected:
59  bool testRule() const;
60 
62  std::string createRuleFormalString() const;
63 
65  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
66 
67 // attributes
68 protected:
69 
70 };
71 
74 
77 {
78  return g_planIndexedRuleType;
79 }
80 
83 
84 } // end of namespace imaproc
85 } // end of namespace ipsdk
86 
87 #endif // __IPSDKIMAGEPROCESSING_RULEPLANINDEXEDMATCHOTHER_H__
boost::weak_ptr< const BasePlanIndexedAttribute > PlanIndexedAttributeConstWeakPtr
weak pointer to const plan indexed attribute
Definition: PlanIndexedAttributeTypes.h:39
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
ePlanIndexedRuleType
enumerate describing plan indexed attribute rule operation type
Definition: PlanIndexedRuleTypes.h:33
Rule allowing to check that components of a plan indexed attribute match components of an other plan ...
Definition: RulePlanIndexedMatchOther.h:32
check that a plan indexed attribute match shape of an other plan indexed attribute ...
Definition: PlanIndexedRuleTypes.h:37
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Base class for rules allowing to check plan indexed attribute properties.
Definition: BasePlanIndexedRule.h:29
ePlanIndexedRuleType getPlanIndexedRuleType() const
get plan indexed attribute rule type
Definition: RulePlanIndexedMatchOther.h:76
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53