Struct SUpperLimit#
Defined in File param_impl.h
Struct Documentation#
-
struct SUpperLimit#
Determine the upper limit of the numeric value.
The upper 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 smaller 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 smaller 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.
-
template<typename TType>