CableSwigSummary

From NAMIC Wiki
Jump to: navigation, search
Home < CableSwigSummary

Description

ITK because the toolkit uses C++ structures that SWIG cannot parse (deeply nested template instantiations). CableSwig is a combination tool that uses GCC_XML as the c++ parser. The input files are Cable style input files. The XML produced from the Cable/GCC_XML input files are then parsed and feed into a modified version of SWIG. SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. It is used to generate the language bindings to the target language. Currently, Tcl, Java and Python are supported.

Role in NAMIC

CableSwig is a utility system used to automatically create language bindings for the ITK software system. It has the potential to create bindings for any C/C++ program.

Documentation, Tutorials, Examples

Documentation resources for CableSwig are limited at this time. The online ITK software system.

License

CableSwig is covered under the Insight Software Consortium copyright. This copyright is an open-source, Berkely-style license. It allows unrestricted use, including use in commercial products. (The only exceptions are software modules found in the patented software directory.)