15 #ifndef __IPSDKIMAGEPROCESSING_BASERAWYSTRIPRGBCOLOR2DPARSER_H__ 16 #define __IPSDKIMAGEPROCESSING_BASERAWYSTRIPRGBCOLOR2DPARSER_H__ 18 #include <IPSDKImageProcessing/Algorithm/Parser/Strip/RawYStripColor2d/BaseRawYStripColor2dParser.h> 26 template <
typename BaseStripAttributeClassType>
49 typename boost::enable_if<typename boost::mpl::not_equal_to<boost::mpl::int_<BaseRawYStripColor2dParser<BaseStripAttributeClassType>::g_attributeIO>,
50 boost::mpl::int_<eIOStatus::eIOS_Output> >::type,
54 return static_cast<const T*
>(this->accessBuffer(colorComponent.value()));
57 typename boost::enable_if<typename boost::mpl::not_equal_to<boost::mpl::int_<BaseRawYStripColor2dParser<BaseStripAttributeClassType>::g_attributeIO>,
58 boost::mpl::int_<eIOStatus::eIOS_Input> >::type,
62 return static_cast<T*
>(this->accessBuffer(colorComponent.value()));
77 #endif // __IPSDKIMAGEPROCESSING_BASERAWYSTRIPRGBCOLOR2DPARSER_H__ boost::enable_if< typename boost::mpl::not_equal_to< boost::mpl::int_< BaseRawYStripColor2dParser< BaseStripAttributeClassType >::g_attributeIO >, boost::mpl::int_< eIOStatus::eIOS_Output > >::type, const T * >::type getBuffer(const image::eRgbColorComponent &colorComponent) const
retrieve buffer associated to current operation
Definition: BaseRawYStripRgbColor2dParser.h:52
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
rgb color geometry
Definition: GeometryComponentTypes.h:49
eColorGeometryType
Color geometry type.
Definition: GeometryComponentTypes.h:45
boost::enable_if< typename boost::mpl::not_equal_to< boost::mpl::int_< BaseRawYStripColor2dParser< BaseStripAttributeClassType >::g_attributeIO >, boost::mpl::int_< eIOStatus::eIOS_Input > >::type, T * >::type getBuffer(const image::eRgbColorComponent &colorComponent)
retrieve buffer associated to current operation
Definition: BaseRawYStripRgbColor2dParser.h:60
eRgbColorComponent
Color components associated to RGB color geometry.
Definition: GeometryComponentTypes.h:92
image::eColorGeometryType getColorGeometryType() const
retrieve color geometry type associated to derived class
Definition: BaseRawYStripRgbColor2dParser.h:39
#define IPSDKIMAGEPROCESSING_API
Import/Export macro for library IPSDKImageProcessing.
Definition: IPSDKImageProcessingExports.h:25
Base class for raw color y strip 2d parsing.
Definition: BaseRawYStripColor2dParser.h:42
Base class for raw rgb color y strip 2d parsing.
Definition: BaseRawYStripRgbColor2dParser.h:27