RISCSoftware / cpacs_tigl_gen

Generates CPACS schema based classes for TiGL
Apache License 2.0
5 stars 5 forks source link

Change style of generated code to conform to TiGL coding style #14

Closed rainman110 closed 6 years ago

rainman110 commented 6 years ago

I just changed some minor things in the code gen, which include:

This style is described in the TiGL wiki and can also be forced with clang-format or astyle: https://github.com/DLR-SC/tigl/wiki/TiGL-Programmers-Guide#tigl-mandatory-c-style-guidelines

bernhardmgruber commented 6 years ago

seeing your changes I'm thinking I should rename IndentingStreamWrapper::raw() to something like IndentingStreamWrapper::unindented(). Maybe I'll do a refactoring later.