<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Hello,</div><div class=""><br class=""></div><div class="">I’m trying to make VTK usable from the common lisp language using the Common Lisp CFFI [1] package, translating C++ methods/classes into CLOS methods/classes.</div><div class=""><br class=""></div><div class="">I understand that VTK supports internal automated ways of doing this (used for Python and TCL glue code generation), but these are a bit excessive for my purposes (and specialized). Other methods like SWIG seem to choke on VTK code - maybe it’s all the macros? Instead, I’ve written a general package for wrapping C++ methods and classes into Lisp to let me hand-wrap VTK classes.</div><div class=""><br class=""></div><div class="">Is there a machine readable list of the C++ class/method hierarchy available?</div><div class=""><br class=""></div><div class="">Something like:</div><div class=""><br class=""></div><div class=""><font face="Courier" class="">{class: “vtkCylinderSource”</font></div><div class=""><font face="Courier" class=""> parents: {“vtkPolyDataAlgorithm”}</font></div><div class=""><font face="Courier" class=""> methods: {{method: SetHeight </font></div><div class=""><font face="Courier" class=""> returntype: void</font></div><div class=""><font face="Courier" class=""> arguments: {{“height” “double”}}}</font></div><div class=""><font face="Courier" class=""> }</font></div><div class=""><font face="Courier" class="">}</font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class="">Or an equivalent in XML. Or maybe simplified macro-less C++ definitions that I could parse?</div><div class=""><br class=""></div><div class="">Such a list of methods seems to exist implicitly for the documentation, but it isn’t machine readable. Is there a machine readable one, or is there an easy way to make it?</div><div class=""><br class=""></div><div class="">Thanks for any tips,</div><div class="">J.Klein</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[1] cffi: <a href="https://common-lisp.net/project/cffi/" class="">https://common-lisp.net/project/cffi/</a></div></body></html>