IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleImageIsComplete.h
1 // RuleImageIsComplete.h:
3 // ----------------------
4 //
16 
17 #ifndef __IPSDKIMAGEPROCESSING_RULEIMAGEISCOMPLETE_H__
18 #define __IPSDKIMAGEPROCESSING_RULEIMAGEISCOMPLETE_H__
19 
20 #include <IPSDKImageProcessing/Rule/Image/ImageProperty/BaseImagePropertyRule.h>
21 
22 namespace ipsdk {
23 namespace imaproc {
24 
27 
29 {
30 // predefined public type
31 public:
33  static const eImagePropertyRuleType::domain g_imagePropertyRuleType = eImagePropertyRuleType::eIPRT_CompleteImage;
34 
35 public:
41 
42 // methods
43 public:
45  eImagePropertyRuleType getImagePropertyRuleType() const;
46 
51  void init(const ImageAttributeConstWeakPtr& pAttribute);
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_RULEIMAGEISCOMPLETE_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::weak_ptr< const BaseImageAttribute > ImageAttributeConstWeakPtr
Definition: ImageAttributeTypes.h:38
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
eImagePropertyRuleType getImagePropertyRuleType() const
get image property rule type
Definition: RuleImageIsComplete.h:72
static const eImagePropertyRuleType::domain g_imagePropertyRuleType
image processing rule type associated to rule
Definition: RuleImageIsComplete.h:33
check where image is a complete image (not a subset of a &#39;bigger&#39; image)
Definition: ImagePropertyRuleTypes.h:48
Rule allowing to check where an image is a complete image (not a sub image)
Definition: RuleImageIsComplete.h:28
Base class for rules allowing to check property of an image attribute.
Definition: BaseImagePropertyRule.h:27
eImagePropertyRuleType
enumerate describing image property rule operation type
Definition: ImagePropertyRuleTypes.h:34
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53