def METHOD_NAME(self):
    index = self._parser.parse('index')
    allowed_kinds = {'class', 'struct', 'namespace', 'typedef'}
    for entry in index.compound:
        if entry.kind in allowed_kinds:
            model_object = _IndexEntry(self._loader, entry.refid)
            name = entry.name
            if self._name_transformer:
                name = self._name_transformer.transform(entry.name)
            yield name, model_object