IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ImageBufferTypeIdentifier.h
1 // ImageBufferTypeIdentifier.h:
3 // ----------------------------
4 //
15 
16 #ifndef __IPSDKIMAGEPROCESSING_IMAGEBUFFERTYPEIDENTIFIER_H__
17 #define __IPSDKIMAGEPROCESSING_IMAGEBUFFERTYPEIDENTIFIER_H__
18 
19 // suppression warnings
20 // warning C4251: 'ipsdk::imaproc::ImageBufferTypeIdentifier::_imageBufferType' : class 'ipsdk::image::eImageBufferType' needs to have dll-interface to be used by clients of class 'ipsdk::imaproc::ImageBufferTypeIdentifier'
21 #pragma warning (push)
22 #pragma warning (disable : 4251)
23 
26 #include <IPSDKBaseProcessing/Algorithm/Function/BaseDataTypeIdentifier.h>
27 
28 namespace ipsdk {
29 namespace imaproc {
30 
33 
35 {
36  // declare serial class
38 
39 public:
45 
46 // methods
47 public:
51  void init(const image::eImageBufferType& imageBufferType);
52 
56  bool isLower(const BaseDataTypeIdentifier& dataTypeId) const;
57 
58 // attributes
59 protected:
62 };
63 
66 
67 } // end of namespace imaproc
68 } // end of namespace ipsdk
69 
70 #pragma warning (pop)
71 
72 #endif // __IPSDKIMAGEPROCESSING_IMAGEBUFFERTYPEIDENTIFIER_H__
#define IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:73
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
image::eImageBufferType _imageBufferType
image buffer type associated to object
Definition: ImageBufferTypeIdentifier.h:61
Definition of import/export macro for library.
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Class allowing to identify used image buffer type and so contribute to select a specialized template ...
Definition: ImageBufferTypeIdentifier.h:34
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_DataItem > >::type, typename boost::is_same< boost::mpl::int_< LeafType1::g_itemType >, boost::mpl::int_< eDataItemType::eDIT_Leaf > >::type, typename boost::is_same< boost::mpl::int_< LeafType2::g_itemType >, boost::mpl::int_< eDataItemType::eDIT_Leaf > >::type >::type, RulePtr >::type isLower(const boost::shared_ptr< AttributeType > &pAttribute)
Rule allowing to check whether a DataItem Leaf is lower than another.
Definition: LeafsComparisonRuleOperators.h:234
Class used for processing data type function identification.
Definition: BaseDataTypeIdentifier.h:27
Predefined type for image management.
eImageBufferType
types associated to image buffers
Definition: ImageTypes.h:78