What was your strategy to find out what could be done?
Doxygen can generate an XML output. One could imagine a not-so-smart python script that would analyze includes' dependencies and relevancies, given the attributes and base of a considered class. ... SMOP. Heum.