IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleOperators.h
Go to the documentation of this file.
1 // RuleOperators.h:
3 // ----------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_RULEOPERATORS_H__
16 #define __IPSDKBASEPROCESSING_RULEOPERATORS_H__
17 
20 #include <boost/make_shared.hpp>
21 
22 namespace ipsdk {
23 namespace processor {
24 
27 
31 operator&& (const RulePtr& pRule1, const RulePtr& pRule2);
33 operator|| (const RulePtr& pRule1, const RulePtr& pRule2);
35 Not(const RulePtr& pRule);
37 
40 none();
41 
45 If(const RulePtr& pPredicate,
46  const RulePtr& pRuleTrue);
48 If(const RulePtr& pPredicate,
49  const RulePtr& pRuleTrue, const RulePtr& pRuleFalse);
51 
54 
55 } // end of namespace processor
56 } // end of namespace ipsdk
57 
58 #endif // __IPSDKBASEPROCESSING_RULEOPERATORS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
IPSDKBASEPROCESSING_API RulePtr operator||(const RulePtr &pRule1, const RulePtr &pRule2)
logical rule combination operators
IPSDKBASEPROCESSING_API RulePtr Not(const RulePtr &pRule)
logical rule combination operators
IPSDKBASEPROCESSING_API RulePtr none()
function allowing to define an empty rule (always true)
boost::shared_ptr< BaseRule > RulePtr
shared pointer to rule
Definition: RuleTypes.h:104
Predefined types for rules management.
Definition of import/export macro for library.
IPSDKBASEPROCESSING_API RulePtr operator &&(const RulePtr &pRule1, const RulePtr &pRule2)
logical rule combination operators
IPSDKBASEPROCESSING_API RulePtr If(const RulePtr &pPredicate, const RulePtr &pRuleTrue)
function allowing to define a conditional condition check rule