IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleCompatibleImageBufferType.h
1 // RuleCompatibleImageBufferType.h:
3 // --------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_RULECOMPATIBLEIMAGEBUFFERTYPE_H__
17 #define __IPSDKIMAGEPROCESSING_RULECOMPATIBLEIMAGEBUFFERTYPE_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_CompatibleImageIBT;
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_RULECOMPATIBLEIMAGEBUFFERTYPE_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
boost::weak_ptr< const BaseImageBufferTypeAttribute > IBTAttributeConstWeakPtr
Definition: ImageBufferTypeAttributeTypes.h:43
#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
eImageBinaryMixedRuleType getImageBinaryMixedRuleType() const
retrieve image binary mixed rule operation type
Definition: RuleCompatibleImageBufferType.h:73
Rule allowing to check that an image buffer type size is compatible a given image buffer types attrib...
Definition: RuleCompatibleImageBufferType.h:27
static const eImageBinaryMixedRuleType::domain g_imageBinaryMixedRuleType
image processing rule type associated to rule
Definition: RuleCompatibleImageBufferType.h:32
check that an image buffer type size is compatible with a given image buffer type attribute ...
Definition: ImageBinaryMixedRuleTypes.h:43
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53