pygccxml
develop
  • Download & Install
  • Examples
    • Setting up pygccxml and parsing c/c++ code
    • First examples
    • Advanced examples
      • Elaborated type specifiers
      • Function pointers
      • Caching
      • Print all declarations
        • C++ header file
        • GCC-XML generated file
        • Python API usage example
        • Output
  • FAQ
  • API
  • Building the documentation
  • Declarations query API
  • Design overview
  • Who is using pygccxml?
  • C++ Reflection
  • Releasing
  • History and Credits
  • GCC-XML 0.7 → 0.9 upgrade issues (Legacy)
pygccxml
  • Docs »
  • Examples »
  • Print all declarations
  • Edit on GitHub

Print all declarations¶

This example prints all declarations found in example.hpp file.

For every class, it prints it’s base and derived classes.

The example consists from few files:

  • C++ header file
  • GCC-XML generated file
  • Python API usage example
  • Output
Next Previous

© Copyright 2014-2017, Insight Software Consortium. Revision 2b1efbb9.

Built with Sphinx using a theme provided by Read the Docs.