IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleMatchImageBufferType.h
1 // RuleMatchImageBufferType.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKIMAGEPROCESSING_RULEMATCHIMAGEBUFFERTYPE_H__
16 #define __IPSDKIMAGEPROCESSING_RULEMATCHIMAGEBUFFERTYPE_H__
17 
18 #include <IPSDKImageProcessing/Rule/Image/ImageComparison/BaseImageComparisonRule.h>
19 
20 namespace ipsdk {
21 namespace imaproc {
22 
25 
27 {
28 // predefined public type
29 public:
31  static const eImageComparisonRuleType::domain g_imageComparisonRuleType = eImageComparisonRuleType::eICRT_MatchImageBufferType;
32 
33 public:
39 
40 // methods
41 public:
43  eImageComparisonRuleType getImageComparisonRuleType() const;
44 
50  void init(const ImageAttributeConstWeakPtr& pAttribute1,
51  const ImageAttributeConstWeakPtr& 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_RULEMATCHIMAGEBUFFERTYPE_H__
eImageComparisonRuleType getImageComparisonRuleType() const
get image comparison rule type
Definition: RuleMatchImageBufferType.h:72
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
eImageComparisonRuleType
enumerate describing image comparison rule operation type
Definition: ImageComparisonRuleTypes.h:32
static const eImageComparisonRuleType::domain g_imageComparisonRuleType
image processing image comparison rule type associated to rule
Definition: RuleMatchImageBufferType.h:31
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Rule allowing to check that two images have same buffer type.
Definition: RuleMatchImageBufferType.h:26
Base class for rules allowing to compare two image attributes.
Definition: BaseImageComparisonRule.h:27
Match image buffer types.
Definition: ImageComparisonRuleTypes.h:38
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53