def dump_field_ids(self, options, f=sys.stdout):
    field_ids = self.get_field_ids()
    if field_ids:
        f.write('\nfield_ids:\n')
        f.write((' ' * (5 + 1)))
        f.write(field_id_item.get_table_header())
        for (i, item) in enumerate(field_ids):
            f.write(('[%3u] ' % i))
            item.dump(f=f, print_name=False)
            f.write((' ("%s", "%s", "%s")\n' % (self.get_typename(item.class_idx), self.get_typename(item.type_idx), self.get_string(item.name_idx))))
def dump_field_ids(self, options, f=sys.stdout):
    field_ids = self.get_field_ids()
    if field_ids:
        f.write('\nfield_ids:\n')
        f.write((' ' * (5 + 1)))
        f.write(field_id_item.get_table_header())
        for (i, item) in enumerate(field_ids):
            f.write(('[%3u] ' % i))
            item.dump(f=f, print_name=False)
            f.write((' ("%s", "%s", "%s")\n' % (self.get_typename(item.class_idx), self.get_typename(item.type_idx), self.get_string(item.name_idx))))