I'm looking for a library or tool (a C++ library would be the best for me) to get code outlining information from a source code file (.c and .cpp at least, but support for other languages would be nice).
In other words I need to obtain a list of classes, stuctures, functions, etc.
You can get an idea of what I mean looking at Visual Studio Code's outline view: