📄 ushort.hpp
字号:
* \param inRightUShort Right value to add. * \return Result of the addition. */inlineBeagle::UShort operator+(const Beagle::UShort& inLeftUShort, const Beagle::UShort& inRightUShort){ Beagle_StackTraceBeginM(); return inLeftUShort.getWrappedValue() + inRightUShort.getWrappedValue(); Beagle_StackTraceEndM("UShort operator+(const UShort& inLeftUShort, const UShort& inRightUShort)");}/*! * \brief Add a UShort with a unsigned short. * \param inLeftUShort Left value to add. * \param inRightUShort Right value to add. * \return Result of the addition. */inlineBeagle::UShort operator+(const Beagle::UShort& inLeftUShort, unsigned short inRightUShort){ Beagle_StackTraceBeginM(); return inLeftUShort.getWrappedValue() + inRightUShort; Beagle_StackTraceEndM("UShort operator+(const UShort& inLeftUShort, unsigned short inRightUShort)");}/*! * \brief Add a UShort to a UShort. * \param inLeftUShort Left value to which the right one is added. * \param inRightUShort Value to add. * \return Result of the addition. */inlineBeagle::UShort& operator+=(Beagle::UShort& inLeftUShort, const Beagle::UShort& inRightUShort){ Beagle_StackTraceBeginM(); inLeftUShort.getWrappedValue() += inRightUShort.getWrappedValue(); return inLeftUShort; Beagle_StackTraceEndM("UShort& operator+=(UShort& inLeftUShort, const UShort& inRightUShort)");}/*! * \brief Add a unsigned short to a UShort. * \param inLeftUShort Left value to which the right one is added. * \param inRightUShort Value to add. * \return Result of the addition. */inlineBeagle::UShort& operator+=(Beagle::UShort& inLeftUShort, unsigned short inRightUShort){ Beagle_StackTraceBeginM(); inLeftUShort.getWrappedValue() += inRightUShort; return inLeftUShort; Beagle_StackTraceEndM("UShort& operator+=(UShort& inLeftUShort, unsigned short inRightUShort)");}/*! * \brief Decrement a UShort (prefix version). * \param inUShort UShort to decrement. * \return UShort decremented. */inlineBeagle::UShort& operator--(Beagle::UShort& inUShort){ Beagle_StackTraceBeginM(); inUShort.getWrappedValue()--; return inUShort; Beagle_StackTraceEndM("UShort& operator--(UShort& inUShort)");}/*! * \brief Decrement a UShort (postfix version). * \param inUShort UShort to decrement. * \return UShort before being decremented. */inlineBeagle::UShort operator--(Beagle::UShort& inUShort, int){ Beagle_StackTraceBeginM(); Beagle::UShort lUShort = inUShort; inUShort.getWrappedValue()--; return lUShort; Beagle_StackTraceEndM("UShort operator--(UShort& inUShort, int)");}/*! * \brief Subtract two UShort. * \param inLeftUShort Left value to subtract. * \param inRightUShort Right value to subtract. * \return Result of the subtract. */inlineBeagle::UShort operator-(const Beagle::UShort& inLeftUShort, const Beagle::UShort& inRightUShort){ Beagle_StackTraceBeginM(); return inLeftUShort.getWrappedValue() - inRightUShort.getWrappedValue(); Beagle_StackTraceEndM("UShort operator-(const UShort& inLeftUShort, const UShort& inRightUShort)");}/*! * \brief Subtract a unsigned short from a UShort. * \param inLeftUShort Left value to subtract. * \param inRightUShort Right value to subtract. * \return Result of the subtract. */inlineBeagle::UShort operator-(const Beagle::UShort& inLeftUShort, unsigned short inRightUShort){ Beagle_StackTraceBeginM(); return inLeftUShort.getWrappedValue() - inRightUShort; Beagle_StackTraceEndM("UShort operator-(const UShort& inLeftUShort, unsigned short inRightUShort)");}/*! * \brief Subtract a UShort from a UShort. * \param inLeftUShort Left value from which the right unsigned short is subtracted. * \param inRightUShort Value to subtract. * \return Result of the subtraction. */inlineBeagle::UShort& operator-=(Beagle::UShort& inLeftUShort, const Beagle::UShort& inRightUShort){ Beagle_StackTraceBeginM(); inLeftUShort.getWrappedValue() -= inRightUShort.getWrappedValue(); return inLeftUShort; Beagle_StackTraceEndM("UShort& operator-=(UShort& inLeftUShort, const UShort& inRightUShort)");}/*! * \brief Subtract a unsigned short from a UShort. * \param inLeftUShort Left value from which the right unsigned short is subtracted. * \param inRightUShort Value to subtract. * \return Result of the subtraction. */inlineBeagle::UShort& operator-=(Beagle::UShort& inLeftUShort, unsigned short inRightUShort){ Beagle_StackTraceBeginM(); inLeftUShort.getWrappedValue() -= inRightUShort; return inLeftUShort; Beagle_StackTraceEndM("UShort& operator-=(UShort& inLeftUShort, unsigned short inRightUShort)");}/*! * \brief Multiply two UShort. * \param inLeftUShort Left value to multiply. * \param inRightUShort Right value to multiply. * \return Result of the multiply. */inlineBeagle::UShort operator*(const Beagle::UShort& inLeftUShort, const Beagle::UShort& inRightUShort){ Beagle_StackTraceBeginM(); return inLeftUShort.getWrappedValue() * inRightUShort.getWrappedValue(); Beagle_StackTraceEndM("UShort operator*(const UShort& inLeftUShort, const UShort& inRightUShort)");}/*! * \brief Multiply a UShort with a unsigned short. * \param inLeftUShort Left value to multiply. * \param inRightUShort Right value to multiply. * \return Result of the multiply. */inlineBeagle::UShort operator*(const Beagle::UShort& inLeftUShort, unsigned short inRightUShort){ Beagle_StackTraceBeginM(); return inLeftUShort.getWrappedValue() * inRightUShort; Beagle_StackTraceEndM("UShort operator*(const UShort& inLeftUShort, unsigned short inRightUShort)");}/*! * \brief Multiply a UShort with a UShort. * \param inLeftUShort Left value to which the right unsigned short is multiplied. * \param inRightUShort Right value to multiply. * \return Result of the multiplication. */inlineBeagle::UShort& operator*=(Beagle::UShort& inLeftUShort, const Beagle::UShort& inRightUShort){ Beagle_StackTraceBeginM(); inLeftUShort.getWrappedValue() *= inRightUShort.getWrappedValue(); return inLeftUShort; Beagle_StackTraceEndM("UShort& operator*=(UShort& inLeftUShort, const UShort& inRightUShort)");}/*! * \brief Multiply a UShort with a unsigned short. * \param inLeftUShort Left value from which the right unsigned short is multiplied. * \param inRightUShort Right value to multiply. * \return Result of the multiplication. */inlineBeagle::UShort& operator*=(Beagle::UShort& inLeftUShort, unsigned short inRightUShort){ Beagle_StackTraceBeginM(); inLeftUShort.getWrappedValue() *= inRightUShort; return inLeftUShort; Beagle_StackTraceEndM("UShort& operator*=(UShort& inLeftUShort, unsigned short inRightUShort)");}/*! * \brief Divide two UShort. * \param inLeftUShort Left value to divide. * \param inRightUShort Right value to divide. * \return Result of the division. */inlineBeagle::UShort operator/(const Beagle::UShort& inLeftUShort, const Beagle::UShort& inRightUShort){ Beagle_StackTraceBeginM(); return inLeftUShort.getWrappedValue() / inRightUShort.getWrappedValue(); Beagle_StackTraceEndM("UShort operator/(const UShort& inLeftUShort, const UShort& inRightUShort)");}/*! * \brief Divide a UShort with a unsigned short. * \param inLeftUShort Left value to divide. * \param inRightUShort Right value to divide. * \return Result of the division. */inlineBeagle::UShort operator/(const Beagle::UShort& inLeftUShort, unsigned short inRightUShort){ Beagle_StackTraceBeginM(); return inLeftUShort.getWrappedValue() / inRightUShort; Beagle_StackTraceEndM("UShort operator/(const UShort& inLeftUShort, unsigned short inRightUShort)");}/*! * \brief Divide a UShort with a UShort. * \param inLeftUShort Left value to which the right unsigned short is divided. * \param inRightUShort Right value to divide. * \return Result of the division. */inlineBeagle::UShort& operator/=(Beagle::UShort& inLeftUShort, const Beagle::UShort& inRightUShort){ Beagle_StackTraceBeginM(); inLeftUShort.getWrappedValue() /= inRightUShort.getWrappedValue(); return inLeftUShort; Beagle_StackTraceEndM("UShort& operator/=(UShort& inLeftUShort, const UShort& inRightUShort)");}/*! * \brief Divide a UShort with a unsigned short. * \param inLeftUShort Left value from which the right unsigned short is divided. * \param inRightUShort Right value to divide. * \return Result of the division. */inlineBeagle::UShort operator/=(Beagle::UShort& inLeftUShort, unsigned short inRightUShort){ Beagle_StackTraceBeginM(); inLeftUShort.getWrappedValue() /= inRightUShort; return inLeftUShort; Beagle_StackTraceEndM("UShort operator/=(UShort& inLeftUShort, unsigned short inRightUShort)");}#endif // Beagle_UShort_hpp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -