Template Function check_interval

Template Function check_interval#

Function Documentation#

template<typename T>
bool check_interval(const std::string &start_name, const std::string &stop_name, T start, T stop)

Checks if two values constitute a valid interval.

Template Parameters:

T – type of the interval values

Parameters:
  • start_name[in] name of the interval start parameter

  • stop_name[in] name of the interval stop parameter

  • start[in] start value of the interval

  • stop[in] stop value of the interval