code: def getvalue(self, v):
          
          if not is_measure(v):
              raise TypeError('Incorrect input type for getvalue()')
          import re
          rx = re.compile("m\d+")
          out = []
          keys = v.keys()[:]
          keys.sort()
          for key in keys:
              if re.match(rx, key):
                  out.append(dq.quantity(v.get(key)))
          return out
docs: Return a list of quantities making up the measures' value.
  
          :param v: a measure