IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleShapeMeasureSetProcessingStatus.h
1 // RuleShapeMeasureSetProcessingStatus.h:
3 // --------------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_RULESHAPEMEASURESETPROCESSINGSTATUS_H__
17 #define __IPSDKIMAGEPROCESSING_RULESHAPEMEASURESETPROCESSINGSTATUS_H__
18 
19 // suppression warnings
20 // warning C4251: 'ipsdk::imaproc::RuleShapeMeasureSetProcessingStatus::_msrProcessingStatus' : class 'ipsdk::shape::analysis::eMsrProcessingStatus' needs to have dll-interface to be used by clients of class 'ipsdk::imaproc::RuleShapeMeasureSetProcessingStatus'
21 #pragma warning (push)
22 #pragma warning (disable : 4251)
23 
24 #include <IPSDKImageProcessing/Rule/ShapeMeasureSet/BaseShapeMeasureSetRule.h>
25 
26 namespace ipsdk {
27 namespace imaproc {
28 
31 
33 {
34 public:
40 
41 // methods
42 public:
44  eSMSRuleType getSMSRuleType() const;
45 
49  void init(const ShapeMeasureSetAttributeConstWeakPtr& pAttribute,
50  const shape::analysis::eMsrProcessingStatus& msrProcessingStatus);
51 
54  const shape::analysis::eMsrProcessingStatus& getMsrProcessingStatus() const;
55 
56 protected:
58  bool testRule() const;
59 
61  std::string createRuleFormalString() const;
62 
64  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
65 
66 // attributes
67 protected:
70 };
71 
74 
75 inline eSMSRuleType
77 {
79 }
80 
83 
84 } // end of namespace imaproc
85 } // end of namespace ipsdk
86 
87 #pragma warning (pop)
88 
89 #endif // __IPSDKIMAGEPROCESSING_RULESHAPEMEASURESETPROCESSINGSTATUS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eSMSRuleType getSMSRuleType() const
get shape measure set rule type
Definition: RuleShapeMeasureSetProcessingStatus.h:76
shape::analysis::eMsrProcessingStatus _msrProcessingStatus
expected shape measure processing status for attribute
Definition: RuleShapeMeasureSetProcessingStatus.h:69
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
eMsrProcessingStatus
Enumerate describing measure processing status.
Definition: MeasureTypes.h:48
Rule allowing to check whether all measures among a shape measure set are associated to a given proce...
Definition: RuleShapeMeasureSetProcessingStatus.h:32
Base class for rules allowing to check shape measure set properties.
Definition: BaseShapeMeasureSetRule.h:28
check that measure set is associated to measures with a given processing status
Definition: ShapeMeasureSetRuleTypes.h:37
boost::weak_ptr< const BaseShapeMeasureSetAttribute > ShapeMeasureSetAttributeConstWeakPtr
Definition: ShapeMeasureSetAttributeTypes.h:40
eSMSRuleType
enumerate describing shape measure set rule operation type
Definition: ShapeMeasureSetRuleTypes.h:33
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53