IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RuleTileCollHomogeneousBufferType.h
1 // RuleTileCollHomogeneousBufferType.h:
3 // ------------------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_RULETILECOLLHOMOGENEOUSBUFFERTYPE_H__
17 #define __IPSDKIMAGEPROCESSING_RULETILECOLLHOMOGENEOUSBUFFERTYPE_H__
18 
19 #include <IPSDKImageProcessing/Rule/TileColl/TileCollProperty/BaseTileCollPropertyRule.h>
20 
21 namespace ipsdk {
22 namespace imaproc {
23 
26 
28 {
29 // predefined public type
30 public:
32  static const eTileCollPropertyRuleType::domain g_tileCollPropertyRuleType = eTileCollPropertyRuleType::eTCPRT_HomogeneousBufferType;
33 
34 public:
40 
41 // methods
42 public:
44  eTileCollPropertyRuleType getTileCollPropertyRuleType() const;
45 
49  void init(const TileCollAttributeConstWeakPtr& pAttribute);
50 
51 protected:
53  bool testRule() const;
54 
56  std::string createRuleFormalString() const;
57 
59  std::string createRuleEvaluatedString(const ipUInt32 increment) const;
60 
61 // attributes
62 protected:
63 
64 };
65 
68 
71 {
73 }
74 
77 
78 } // end of namespace imaproc
79 } // end of namespace ipsdk
80 
81 #endif // __IPSDKIMAGEPROCESSING_RULETILECOLLHOMOGENEOUSBUFFERTYPE_H__
boost::weak_ptr< const BaseTileCollAttribute > TileCollAttributeConstWeakPtr
weak pointer to attribute associated to a collection of image tiles
Definition: TileCollAttributeTypes.h:58
Check for homogeneous buffer type among tile collection.
Definition: TileCollPropertyRuleTypes.h:35
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eTileCollPropertyRuleType getTileCollPropertyRuleType() const
get tile collection property rule type
Definition: RuleTileCollHomogeneousBufferType.h:70
eTileCollPropertyRuleType
enumerate describing rule operation type applied on property of attributes associated to collection o...
Definition: TileCollPropertyRuleTypes.h:31
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
static const eTileCollPropertyRuleType::domain g_tileCollPropertyRuleType
image tile collection property rule type associated to rule
Definition: RuleTileCollHomogeneousBufferType.h:32
Base class for rule checking properties of tile collections.
Definition: BaseTileCollPropertyRule.h:27
Rule allowing to check that a collection of tile share same buffer type.
Definition: RuleTileCollHomogeneousBufferType.h:27
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53