Rbgccxml is a library that parses out GCCXML (http://www.gccxml.org) output and provides a simple but very powerful querying API for finding exactly what you want out of the C++ source code
Jason Roelofs
gem "rbgccxml", "~> 1.0.3"