title: Python pygccxml how to query for a c++ define value?
body: <p>I would like to know if somebody knows how to parse a c++-header-file via python-package <strong>pygccxml</strong> for any c++ defines.</p>
  <p>The Query-API of <strong>pygccxml</strong> does not contain matchers to extract what defines are set to what values (at least I could not find any).</p>
  <p>So my question would be:</p>
  <p>E.g. some simple header file content:</p>
  <pre><code>#ifndef ___SW_hpp___
  #define ___SW_hpp___
  
  #define SW_VERSION 46
  
  #endif
  </code></pre>
  <p>How does one extract the value of the define 'SW_VERSION' (result should be 46 in this case) ??
  Any hint for a function how to achieve this would be very much appreciated since the Docs of pygccxml are not really 'self-explanatory' in this regard.</p>
  <p>Thnx alot.</p>