Struct SLowerLimit#

Struct Documentation#

struct SLowerLimit#

Determine the lower limit of the numeric value.

The lower limit is defined by the operators > and >=. When no limit is required, the operator != is used (defined by the macro NO_LIMIT).

Public Functions

template<typename TType>
inline std::pair<TType, ELimitType> operator>(TType tLimit) const#

Operator larger than.

Template Parameters:

TType – Type to use for the comparison.

Parameters:

tLimit[in] The limit value.

Returns:

A pair defining the limit. First the type, second the limit type.

template<typename TType>
inline std::pair<TType, ELimitType> operator>=(TType tLimit) const#

Operator larger than or equal.

Template Parameters:

TType – Type to use for the comparison.

Parameters:

tLimit[in] The limit value.

Returns:

A pair defining the limit. First the type, second the limit type.

inline std::pair<size_t, ELimitType> operator!=(size_t n) const#

No limit operator.

Parameters:

n[in] The value that was supplied. This is typically 0.

Returns:

A pair containing the value and the limit type, being no limit.