15 #ifndef __IPSDKIMAGEPROCESSING_BASERAWYSTRIPUSERCOLOR2DPARSER_H__ 16 #define __IPSDKIMAGEPROCESSING_BASERAWYSTRIPUSERCOLOR2DPARSER_H__ 18 #include <IPSDKImageProcessing/Algorithm/Parser/Strip/RawYStripColor2d/BaseRawYStripColor2dParser.h> 26 template <
typename BaseStripAttributeClassType>
41 return image::eColorGeometryType::eCGT_User;
51 typename boost::enable_if<typename boost::mpl::not_equal_to<boost::mpl::int_<BaseRawYStripColor2dParser<BaseStripAttributeClassType>::g_attributeIO>,
52 boost::mpl::int_<eIOStatus::eIOS_Output> >::type,
56 return static_cast<const T*
>(this->accessBuffer(cPlanIdx));
59 typename boost::enable_if<typename boost::mpl::not_equal_to<boost::mpl::int_<BaseRawYStripColor2dParser<BaseStripAttributeClassType>::g_attributeIO>,
60 boost::mpl::int_<eIOStatus::eIOS_Input> >::type,
64 return static_cast<T*
>(this->accessBuffer(cPlanIdx));
79 #endif // __IPSDKIMAGEPROCESSING_BASERAWYSTRIPUSERCOLOR2DPARSER_H__ Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
eColorGeometryType
Color geometry type.
Definition: GeometryComponentTypes.h:45
image::eColorGeometryType getColorGeometryType() const
retrieve color geometry type associated to derived class
Definition: BaseRawYStripUserColor2dParser.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 user color y strip 2d parsing.
Definition: BaseRawYStripUserColor2dParser.h:27
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 ipUInt64 cPlanIdx) const
retrieve buffer associated to current operation
Definition: BaseRawYStripUserColor2dParser.h:54
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 ipUInt64 cPlanIdx)
retrieve buffer associated to current operation
Definition: BaseRawYStripUserColor2dParser.h:62