Commit Graph

7 Commits

Author SHA1 Message Date
Jonas Bähr
34b176c1db Remove C++ escaping from *Py.xml templates
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.

Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
wmayer
4e42ff7baa Base: modernize C++: replace 'typedef' with 'using' 2022-08-29 11:42:09 +02:00
marioalexis
bf472c51e3 Base: Improve docstrings in TypePy.xml 2022-06-02 16:25:55 +02:00
wmayer
e22286f5b4 Base: [skip ci] expose Type::createInstance and Type::createInstanceByName to Python 2020-10-29 17:18:10 +01:00
wmayer
f5a63e0953 Enhabce TypePy:
add convenience method getAllDerived()
support TypePy asrgument in getAllDerivedFrom() and isDerivedFrom()
return TypePy instead of str in getAllDerivedFrom()
2019-11-13 10:41:04 +01:00
wmayer
d953a44eaf declare getAllDerivedFrom as static method 2019-11-13 00:57:21 +01:00
wmayer
79ef4be9de export typeid system to Python 2019-11-13 00:43:23 +01:00