From 93951fd04a4d78f379fe89024497a39563d0118b Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 10 Jun 2016 14:57:46 +0100 Subject: [PATCH] start adding --- cplusplus/include/vips/VImage8.h | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/cplusplus/include/vips/VImage8.h b/cplusplus/include/vips/VImage8.h index c7f2ea3c..d7bd2235 100644 --- a/cplusplus/include/vips/VImage8.h +++ b/cplusplus/include/vips/VImage8.h @@ -781,12 +781,22 @@ public: friend VImage VIPS_CPLUSPLUS_API operator+( std::vector a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator+( VImage a, std::vector b ); + VImage VIPS_CPLUSPLUS_API &operator+=( const VImage &b ) + + friend VImage VIPS_CPLUSPLUS_API operator+=( VImage a ); + friend VImage VIPS_CPLUSPLUS_API operator+=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator+=( std::vector a ); + friend VImage VIPS_CPLUSPLUS_API operator-( VImage a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator-( double a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator-( VImage a, double b ); friend VImage VIPS_CPLUSPLUS_API operator-( std::vector a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator-( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator-=( VImage a ); + friend VImage VIPS_CPLUSPLUS_API operator-=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator-=( std::vector a ); + friend VImage VIPS_CPLUSPLUS_API operator-( VImage a ); friend VImage VIPS_CPLUSPLUS_API operator*( VImage a, VImage b ); @@ -795,16 +805,28 @@ public: friend VImage VIPS_CPLUSPLUS_API operator*( std::vector a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator*( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator*=( VImage a ); + friend VImage VIPS_CPLUSPLUS_API operator*=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator*=( std::vector a ); + friend VImage VIPS_CPLUSPLUS_API operator/( VImage a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator/( double a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator/( VImage a, double b ); friend VImage VIPS_CPLUSPLUS_API operator/( std::vector a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator/( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator/=( VImage a ); + friend VImage VIPS_CPLUSPLUS_API operator/=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator/=( std::vector a ); + friend VImage VIPS_CPLUSPLUS_API operator%( VImage a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator%( VImage a, double b ); friend VImage VIPS_CPLUSPLUS_API operator%( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator%=( VImage a ); + friend VImage VIPS_CPLUSPLUS_API operator%=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator%=( std::vector a ); +% friend VImage VIPS_CPLUSPLUS_API operator<( VImage a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator<( double a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator<( VImage a, double b ); @@ -847,26 +869,44 @@ public: friend VImage VIPS_CPLUSPLUS_API operator&( std::vector a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator&( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator&=( VImage a ); + friend VImage VIPS_CPLUSPLUS_API operator&=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator&=( std::vector a ); + friend VImage VIPS_CPLUSPLUS_API operator|( VImage a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator|( double a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator|( VImage a, double b ); friend VImage VIPS_CPLUSPLUS_API operator|( std::vector a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator|( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator|=( VImage a ); + friend VImage VIPS_CPLUSPLUS_API operator|=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator|=( std::vector a ); + friend VImage VIPS_CPLUSPLUS_API operator^( VImage a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator^( double a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator^( VImage a, double b ); friend VImage VIPS_CPLUSPLUS_API operator^( std::vector a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator^( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator^=( VImage a ); + friend VImage VIPS_CPLUSPLUS_API operator^=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator^=( std::vector a ); + friend VImage VIPS_CPLUSPLUS_API operator<<( VImage a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator<<( VImage a, double b ); friend VImage VIPS_CPLUSPLUS_API operator<<( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator<<=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator<<=( std::vector a ); + friend VImage VIPS_CPLUSPLUS_API operator>>( VImage a, VImage b ); friend VImage VIPS_CPLUSPLUS_API operator>>( VImage a, double b ); friend VImage VIPS_CPLUSPLUS_API operator>>( VImage a, std::vector b ); + friend VImage VIPS_CPLUSPLUS_API operator>>=( double a ); + friend VImage VIPS_CPLUSPLUS_API operator>>=( std::vector a ); + }; VIPS_NAMESPACE_END