IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BaseRuleMatchStripRange.h
1 // BaseRuleMatchStripRange.h:
3 // --------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_BASERULEMATCHSTRIPRANGE_H__
17 #define __IPSDKIMAGEPROCESSING_BASERULEMATCHSTRIPRANGE_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_StripRange;
33 
34 public:
38  virtual ~BaseRuleMatchStripRange() = 0;
40 
41 // methods
42 public:
44  eStripBinaryMixedRuleType getStripBinaryMixedRuleType() const;
45 
46 protected:
48  virtual ipReal64 retrieveValue() const = 0;
49 
51  virtual std::string retrieveValueAttributeName() const = 0;
52 
54  bool testRule() const;
55 
57  std::string createRuleFormalString() const;
58 
60  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
61 
62 // attributes
63 protected:
64 
65 };
66 
69 
72 {
74 }
75 
78 
79 } // end of namespace imaproc
80 } // end of namespace ipsdk
81 
82 #endif // __IPSDKIMAGEPROCESSING_BASERULEMATCHSTRIPRANGE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
eStripBinaryMixedRuleType getStripBinaryMixedRuleType() const
retrieve strip binary mixed rule operation type
Definition: BaseRuleMatchStripRange.h:71
Base class for rules allowing to match properties of a strip attribute with an other attribute...
Definition: BaseStripBinaryMixedRule.h:28
static const eStripBinaryMixedRuleType::domain g_stripBinaryMixedRuleType
mixed strip rule type associated to rule
Definition: BaseRuleMatchStripRange.h:32
eStripBinaryMixedRuleType
enumerate describing strip binary mixed rule operation type
Definition: StripBinaryMixedRuleTypes.h:35
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
check whether a value match a strip buffer type value range
Definition: StripBinaryMixedRuleTypes.h:37
Base class for rules allowing to check that a value is inside a strip buffer type value range...
Definition: BaseRuleMatchStripRange.h:27
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53