Return all field objects

          :rtype: a list of :class:`EncodedField` objects

def get_fields(self):
        """
          Return all field objects

          :rtype: a list of :class:`EncodedField` objects
        """
        l = []
        for i in self.classes.class_def:
            for j in i.get_fields():
                l.append(j)
        return l