IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleCompatibleStripBufferType.h
1 // RuleCompatibleStripBufferType.h:
3 // --------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_RULECOMPATIBLESTRIPBUFFERTYPE_H__
17 #define __IPSDKIMAGEPROCESSING_RULECOMPATIBLESTRIPBUFFERTYPE_H__
18 
19 #include <IPSDKImageProcessing/Rule/Strip/StripBinaryMixed/BaseStripBinaryMixedRule.h>
20 
21 namespace ipsdk {
22 namespace imaproc {
23 
26 
28 {
29 // predefined public type
30 public:
32  static const eStripBinaryMixedRuleType::domain g_stripBinaryMixedRuleType = eStripBinaryMixedRuleType::eSBMRT_CompatibleStripIBT;
33 
34 public:
40 
41 // methods
42 public:
44  eStripBinaryMixedRuleType getStripBinaryMixedRuleType() const;
45 
51  void init(const StripAttributeConstWeakPtr& pStripAttribute,
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_RULECOMPATIBLESTRIPBUFFERTYPE_H__
check that an image strip buffer type size is compatible with a given image buffer type attribute ...
Definition: StripBinaryMixedRuleTypes.h:41
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eStripBinaryMixedRuleType getStripBinaryMixedRuleType() const
retrieve strip binary mixed rule operation type
Definition: RuleCompatibleStripBufferType.h:73
Base class for rules allowing to match properties of a strip attribute with an other attribute...
Definition: BaseStripBinaryMixedRule.h:28
eStripBinaryMixedRuleType
enumerate describing strip binary mixed rule operation type
Definition: StripBinaryMixedRuleTypes.h:35
Rule allowing to check that an image strip buffer type size is compatible a given image buffer types ...
Definition: RuleCompatibleStripBufferType.h:27
boost::weak_ptr< const BaseImageBufferTypeAttribute > IBTAttributeConstWeakPtr
Definition: ImageBufferTypeAttributeTypes.h:43
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
boost::weak_ptr< const BaseStripAttribute > StripAttributeConstWeakPtr
weak pointer to image strip attribute
Definition: StripAttributeTypes.h:80
static const eStripBinaryMixedRuleType::domain g_stripBinaryMixedRuleType
mixed strip rule type associated to rule
Definition: RuleCompatibleStripBufferType.h:32
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53