IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleMatchStripPlanarSize.h
1 // RuleMatchStripPlanarSize.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKIMAGEPROCESSING_RULEMATCHSTRIPPLANARSIZE_H__
16 #define __IPSDKIMAGEPROCESSING_RULEMATCHSTRIPPLANARSIZE_H__
17 
18 #include <IPSDKImageProcessing/Rule/Strip/StripComparison/BaseStripComparisonRule.h>
19 
20 namespace ipsdk {
21 namespace imaproc {
22 
25 
27 {
28 // predefined public type
29 public:
31  static const eStripComparisonRuleType::domain g_stripComparisonRuleType = eStripComparisonRuleType::eSCRT_MatchStripPlanarSize;
32 
33 public:
39 
40 // methods
41 public:
43  eStripComparisonRuleType getStripComparisonRuleType() const;
44 
50  void init(const StripAttributeConstWeakPtr& pAttribute1,
51  const StripAttributeConstWeakPtr& pAttribute2);
52 
53 protected:
55  bool testRule() const;
56 
58  std::string createRuleFormalString() const;
59 
61  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
62 
63 // attributes
64 protected:
65 
66 };
67 
70 
73 {
75 }
76 
79 
80 } // end of namespace imaproc
81 } // end of namespace ipsdk
82 
83 #endif // __IPSDKIMAGEPROCESSING_RULEMATCHSTRIPPLANARSIZE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eStripComparisonRuleType
enumerate describing image strip comparison rule operation type
Definition: StripComparisonRuleTypes.h:33
eStripComparisonRuleType getStripComparisonRuleType() const
get image strip comparison rule type
Definition: RuleMatchStripPlanarSize.h:72
static const eStripComparisonRuleType::domain g_stripComparisonRuleType
strip comparison rule type associated to rule
Definition: RuleMatchStripPlanarSize.h:31
Base class for rules allowing to compare two image strip attributes.
Definition: BaseStripComparisonRule.h:27
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Rule allowing to check that two image strips have same planar size.
Definition: RuleMatchStripPlanarSize.h:26
boost::weak_ptr< const BaseStripAttribute > StripAttributeConstWeakPtr
weak pointer to image strip attribute
Definition: StripAttributeTypes.h:80
Match strip xy planar size.
Definition: StripComparisonRuleTypes.h:37
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53