IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleMatchTileCollNbTiles.h
1 // RuleMatchTileCollNbTiles.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKIMAGEPROCESSING_RULEMATCHTILECOLLNBTILES_H__
16 #define __IPSDKIMAGEPROCESSING_RULEMATCHTILECOLLNBTILES_H__
17 
18 #include <IPSDKImageProcessing/Rule/TileColl/TileCollComparison/BaseTileCollComparisonRule.h>
19 
20 namespace ipsdk {
21 namespace imaproc {
22 
25 
27 {
28 // predefined public type
29 public:
31  static const eTileCollComparisonRuleType::domain g_tileCollComparisonRuleType = eTileCollComparisonRuleType::eTCCRT_MatchCollSize;
32 
33 public:
39 
40 // methods
41 public:
43  eTileCollComparisonRuleType getTileCollComparisonRuleType() const;
44 
50  void init(const TileCollAttributeConstWeakPtr& pAttribute1,
51  const TileCollAttributeConstWeakPtr& pAttribute2);
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_RULEMATCHTILECOLLNBTILES_H__
boost::weak_ptr< const BaseTileCollAttribute > TileCollAttributeConstWeakPtr
weak pointer to attribute associated to a collection of image tiles
Definition: TileCollAttributeTypes.h:58
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Base class for rule allowing to compare properties of two tile collections.
Definition: BaseTileCollComparisonRule.h:28
eTileCollComparisonRuleType
enumerate describing image strip comparison rule operation type
Definition: TileCollComparisonRuleTypes.h:32
Match collection size.
Definition: TileCollComparisonRuleTypes.h:34
eTileCollComparisonRuleType getTileCollComparisonRuleType() const
get tile collection comparison rule type
Definition: RuleMatchTileCollNbTiles.h:72
Rule allowing to check that size two tile collection match.
Definition: RuleMatchTileCollNbTiles.h:26
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
static const eTileCollComparisonRuleType::domain g_tileCollComparisonRuleType
image tile collection comparison rule type associated to rule
Definition: RuleMatchTileCollNbTiles.h:31
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53