I have a few classes of python and growing in my little project.
I used to inherit classes which Doxygen noticed and acted correctly but then I changed it.
Now I'm using the Decorator design pattern, meaning that I merely create an instance of the formerly inherited class and then extend or modify or what ever (code example @ bottom).
Doxygen does not understand this.
Anyone know a solution ?
class Super(object):
def __init__(self):
pass
class Decorated(object):
def __init__(self):
self.__super = Super()
def __getattr__(self, attr):
return getattr(self.__super, attr)


Sign In
Create Account


Back to top









