|
any_image_view.hpp
Go to the documentation of this file.
11 /*************************************************************************************************/
33 template <typename Views> struct views_get_const_t : public mpl::transform<Views, get_const_t<mpl::_1> > {};
41 template <typename T> result_type operator()(const T& v) const { return num_channels<T>::value; }
75 template <typename Types> any_image_view(const any_image_view<Types>& v) : parent_t((const variant<Types>&)v) {}
77 template <typename T> any_image_view& operator=(const T& obj) { parent_t::operator=(obj); return *this; }
78 any_image_view& operator=(const any_image_view& v) { parent_t::operator=((const parent_t&)v); return *this;}
79 template <typename Types> any_image_view& operator=(const any_image_view<Types>& v) { parent_t::operator=((const variant<Types>&)v); return *this;}
81 std::size_t num_channels() const { return apply_operation(*this, detail::any_type_get_num_channels()); }
93 typedef any_image_view<typename mpl::transform<IVTypes, dynamic_x_step_type<mpl::_1> >::type> type;
102 typedef any_image_view<typename mpl::transform<IVTypes, dynamic_y_step_type<mpl::_1> >::type> type;
107 typedef any_image_view<typename mpl::transform<IVTypes, dynamic_xy_step_type<mpl::_1> >::type> type;
112 typedef any_image_view<typename mpl::transform<IVTypes, dynamic_xy_step_transposed_type<mpl::_1> >::type> type;
BOOST_FORCEINLINE UnaryOp::result_type apply_operation(variant< Types > &arg, UnaryOp op) Invokes a generic mutable operation (represented as a unary function object) on a variant... Definition: apply_operation.hpp:35 Support for run-time instantiated types. Represents a concrete instance of a run-time specified type from a set of typesA concept is typically... Definition: variant.hpp:89 Represents a run-time specified image view. Models HasDynamicXStepTypeConcept, HasDynamicYStepTypeCon... Definition: any_image_view.hpp:64 Returns the number of channels of a pixel-based GIL construct. Definition: gil_concept.hpp:61 Generated on Mon Mar 26 2018 12:01:35 for Generic Image Library by
1.8.6
|