Python code to parse and inspect c++
<p>Is there a library for Python that will allow me to parse c++ code?</p>

<p>For example, let's say I want to parse some c++ code and find the names of all classes and their member functions/variables. </p>

<p>I can think of a few ways to hack it together using regular expressions, but if there is an existing library it would be more helpful.</p>
