generate the documentation for the LSP functions by the meta code

In the C++ template files the structure of the LSP functions is not
known.  Therefore it has to be generated by the meta code, which also
generates the LSP functions.