'Returns the list of class members to document in `cls`.
This function filters the class member to ONLY return those
defined by the class.  It drops the inherited ones.
Args:
cls_name: Qualified name of `cls`.
cls: An inspect object of type \'class\'.
Yields:
name, member tuples.'

def get_class_members(self, cls_name, cls):

    for (name, member) in inspect.getmembers(cls):
        is_method = (inspect.ismethod(member) or inspect.isfunction(member))
        if (not (is_method or isinstance(member, property))):
            continue
        if ((is_method and (member.__name__ == '__init__')) or self._should_include_member(name, member)):
            (yield (name, (('%s.%s' % (cls_name, name)), member)))
