Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
doxy2swig Namespace Reference

Classes

class  Doxy2SWIG

Functions

 my_open_read (source)
 my_open_write (dest)
 shift (txt, indent=' ', prepend='')
 main ()

Detailed Description

doxy2swig.py [options] index.xml output.i

Doxygen XML to SWIG docstring converter (improved version).

Converts Doxygen generated XML files into a file containing docstrings
for use by SWIG.

index.xml is your doxygen generated XML file and output.i is where the
output will be written (the file will be clobbered).

Function Documentation

◆ main()

doxy2swig.main ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ my_open_read()

doxy2swig.my_open_read ( source)

◆ my_open_write()

doxy2swig.my_open_write ( dest)
Here is the caller graph for this function:

◆ shift()

doxy2swig.shift ( txt,
indent = '    ',
prepend = '' )
Return a list corresponding to the lines of text in the `txt` list
indented by `indent`. Prepend instead the string given in `prepend` to the
beginning of the first line. Note that if len(prepend) > len(indent), then
`prepend` will be truncated (doing better is tricky!). This preserves a 
special '' entry at the end of `txt` (see `do_para` for the meaning).
Here is the caller graph for this function: