IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleCheckImageBufferType.h
1 // RuleCheckImageBufferType.h:
3 // ---------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_RULECHECKIMAGEBUFFERTYPE_H__
17 #define __IPSDKIMAGEPROCESSING_RULECHECKIMAGEBUFFERTYPE_H__
18 
19 #include <IPSDKImageProcessing/Rule/Image/ImageBinaryMixed/BaseImageBinaryMixedRule.h>
20 
21 namespace ipsdk {
22 namespace imaproc {
23 
26 
28 {
29 // predefined public type
30 public:
32  static const eImageBinaryMixedRuleType::domain g_imageBinaryMixedRuleType = eImageBinaryMixedRuleType::eIBMRT_CheckImageIBT;
33 
34 public:
40 
41 // methods
42 public:
44  eImageBinaryMixedRuleType getImageBinaryMixedRuleType() const;
45 
51  void init(const ImageAttributeConstWeakPtr& pImageAttribute,
52  const IBTAttributeConstWeakPtr& pIBTAttribute);
53 
54 protected:
56  bool testRule() const;
57 
59  std::string createRuleFormalString() const;
60 
62  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
63 
64 // attributes
65 protected:
66 
67 };
68 
71 
74 {
76 }
77 
80 
81 } // end of namespace imaproc
82 } // end of namespace ipsdk
83 
84 #endif // __IPSDKIMAGEPROCESSING_RULECHECKIMAGEBUFFERTYPE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
eImageBinaryMixedRuleType
enumerate describing image binary mixed rule operation type
Definition: ImageBinaryMixedRuleTypes.h:35
Rule allowing to check that an image correspond to a given image buffer types attribute.
Definition: RuleCheckImageBufferType.h:27
check that an image match a given image buffer type attribute
Definition: ImageBinaryMixedRuleTypes.h:41
boost::weak_ptr< const BaseImageBufferTypeAttribute > IBTAttributeConstWeakPtr
Definition: ImageBufferTypeAttributeTypes.h:43
eImageBinaryMixedRuleType getImageBinaryMixedRuleType() const
retrieve image binary mixed rule operation type
Definition: RuleCheckImageBufferType.h:73
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Base class for rules allowing to match properties of an image attribute with an other attribute...
Definition: BaseImageBinaryMixedRule.h:29
static const eImageBinaryMixedRuleType::domain g_imageBinaryMixedRuleType
image processing rule type associated to rule
Definition: RuleCheckImageBufferType.h:32
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53