QLEInteger Class | Qt Core (original) (raw)

The QLEInteger class provides platform-independent little-endian integers. More...

Member Function Documentation

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

Constructs a QLEInteger with the given value.

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

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

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

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

T QLEInteger::operator T() const

Returns the value of this QLEInteger as a native integer.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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