QBEInteger Class | Qt Core (original) (raw)

Member Function Documentation

[explicit constexpr] QBEInteger::QBEInteger(T value)

Constructs a QBEInteger with the given value.

[static constexpr] QBEInteger<T> QBEInteger::max()

Returns the maximum (finite) value representable by the numeric type T.

[static constexpr] QBEInteger<T> QBEInteger::min()

Returns the minimum (finite) value representable by the numeric type T.

T QBEInteger::operator T() const

Returns the value of this QBEInteger as a native integer.

bool QBEInteger::operator!=(QBEInteger<T> other) const

Returns true if the value of this QBEInteger is not equal to the value of other.

QBEInteger<T> &QBEInteger::operator%=(T i)

Sets this QBEInteger to the remainder of a division by i and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator&=(T i)

Performs a bitwise AND with i onto this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator*=(T i)

Multiplies i with this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator++()

Performs a prefix ++ (increment) on this QBEInteger and returns a reference to this object.

QBEInteger<T> QBEInteger::operator++(int)

Performs a postfix ++ (increment) on this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator+=(T i)

Adds i to this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator--()

Performs a prefix -- (decrement) on this QBEInteger and returns a reference to this object.

QBEInteger<T> QBEInteger::operator--(int)

Performs a postfix -- (decrement) on this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator-=(T i)

Subtracts i from this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator/=(T i)

Divides this QBEInteger with i and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator<<=(T i)

Performs a right-shift by i on this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator=(T i)

Assigns i to this QBEInteger and returns a reference to this QBEInteger.

bool QBEInteger::operator==(QBEInteger<T> other) const

Returns true if the value of this QBEInteger is equal to the value of other.

QBEInteger<T> &QBEInteger::operator>>=(T i)

Performs a left-shift by i on this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator^=(T i)

Performs a bitwise XOR with i onto this QBEInteger and returns a reference to this object.

QBEInteger<T> &QBEInteger::operator|=(T i)

Performs a bitwise OR with i onto this QBEInteger and returns a reference to this object.