IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleTypes.h
Go to the documentation of this file.
1 // RuleTypes.h:
3 // ------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_RULETYPES_H__
16 #define __IPSDKBASEPROCESSING_RULETYPES_H__
17 
19 #include <boost/utility/enable_if.hpp>
20 #include <boost/type_traits/is_same.hpp>
21 #include <boost/mpl/and.hpp>
22 #include <boost/mpl/int.hpp>
23 #include <boost/shared_ptr.hpp>
24 
25 namespace ipsdk {
26 namespace processor {
27 
28 class BaseRule;
29 
31 // Enumerates decribing rule types
33 
39  (eRT_Attribute)
41  (eRT_None)
42 )
43 
49  (eVCRT_Equal)
51  (eVCRT_Greater)
52  (eVCRT_Lower)
55 )
56 
63  (eVPRT_Even)
64 )
65 
71  (eCPRT_Size)
72  (eCPRT_Data)
73 )
74 
77 
79 typedef boost::shared_ptr<BaseRule> RulePtr;
80 
82 typedef boost::shared_ptr<const BaseRule> RuleConstPtr;
83 
84 
87 
88 } // end of namespace processor
89 } // end of namespace ipsdk
90 
91 #endif // __IPSDKBASEPROCESSING_RULETYPES_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Rule composed of a combination of other rules.
Definition: RuleTypes.h:44
boost::shared_ptr< const BaseRule > RuleConstPtr
shared pointer to const rule
Definition: RuleTypes.h:107
Empty rule always true.
Definition: RuleTypes.h:46
eValueComparisonRuleType
enumerate describing value comparison rule operation type
Definition: RuleTypes.h:56
boost::shared_ptr< BaseRule > RulePtr
shared pointer to rule
Definition: RuleTypes.h:104
Definition: DataItemNodeHdrMacrosDetails.h:48
check whether values are not equal
Definition: RuleTypes.h:60
check informations about collection data
Definition: RuleTypes.h:96
check whether first value is strictly lower than second one
Definition: RuleTypes.h:64
check whether values are equal
Definition: RuleTypes.h:58
Rule associated to attributes.
Definition: RuleTypes.h:42
check informations about collection size
Definition: RuleTypes.h:94
check whether attribute value is odd
Definition: RuleTypes.h:80
eRuleType
enumerate describing rule type
Definition: RuleTypes.h:40
Base class for processing attributes rules.
Definition: BaseRule.h:41
eCollPropertyRuleType
enumerate describing collection property rule operation type
Definition: RuleTypes.h:92
check whether first value is lower or equal to second one
Definition: RuleTypes.h:68
check whether first value is greater or equal to second one
Definition: RuleTypes.h:66
Predefined macros for enumerates management.
#define IPSDK_ENUM(enumTypeStr, enumSeq)
macro allowing to declare an enumerate for library
Definition: EnumMacros.h:26
check whether attribute value is even
Definition: RuleTypes.h:82
eValuePropertyRuleType
enumerate describing value property rule operation type
Definition: RuleTypes.h:78
check whether first value is strictly greater than second one
Definition: RuleTypes.h:62