(self, begin, end)
Add a new range

      :param begin: the begin of range
      :param end: the end of the range
Add a new range
Add a new range
def add(self, begin, end):
      """ Add a new range

      :param begin: the begin of range
      :param end: the end of the range

      """
      if begin > end:
         Util.raiseException('Wrong value, the end of the range (%s) is greater than the begin (%s) !' % (end, begin), ValueError)
      self.beginEnd.append((begin, end))
      self.__processMinMax()
def add ( self , begin , end ) : if begin > end : Util . raiseException ( 'Wrong value, the end of the range (%s) is greater than the begin (%s) !' % ( end , begin ) , ValueError ) self . beginEnd . append ( ( begin , end ) ) self . __processMinMax ( )