It is possible, but it needs to be implemented. The implementation
would require updates to some built-in routines that already track
the classes some new class inherits from.
I do need this in the context analyzer too. Right now I'm assuming
public inheritance (dependent on local context) which is not correct.
>>> "Berndl, Klaus" <klaus.berndl@...> seems to think that:
>suppose the following c++-class:
>class list_of_facts : public list<fact>, public entity, private PrivateParentClass, protected ProtectedParentClass
> // bla bla bla
>AFAIK currently the information about the protection of the
>inheritance is not available, right? Means, currrently the c++-parser
>gives me the information that list_of_facts is derived from the four
>classes list<fact>, entity, PrivateParentClass and
>ProtectedParentClass but gives me not the information that:
>- list<fact> and entity are of type public inheritance
>- PrivateParentClass is of type private inheritance
>- ProtectedParentClass is of type protected inheritance
>Would it be hard to gives this information too?
>Klaus Berndl mailto: <mailto:klaus.berndl@...> klaus.berndl@...
>sd&m AG <http://www.sdm.de/> http://www.sdm.de
>software design & management
>Carl-Wery-Str. 42, 81739 Muenchen, Germany
>Tel +49 89 63812-392, Fax -220
[ ... ]
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org