[xsd-users] XSD codesynthesis code generator modification

Laurent MONTMAILLER lmontmailler at edap-tms.com
Fri Jan 10 09:28:42 EST 2020


Thank you very much Boris for your support.

Best regards
Laurent

-----Message d'origine-----
De : Boris Kolpackov <boris at codesynthesis.com>
Envoyé : vendredi 10 janvier 2020 14:32
À : Laurent MONTMAILLER <lmontmailler at edap-tms.com>
Cc : xsd-users at codesynthesis.com
Objet : Re: [xsd-users] XSD codesynthesis code generator modification

Laurent MONTMAILLER <lmontmailler at edap-tms.com> writes:

> I would like for example override generated accessor methods (set/get)
> and add some features in the C++ generated classes : inheritance from
> an in-house class, additional includes, methods and so on... The goal
> is to modify the generator to make all that in an automatic way: at
> each code generation. I think I cannot do that the way it is explained
> in the customization guide...

You can probably achieve most of this, though it will require some effort and for a large schema with many types, may be quite tedious.


> I'm also surprised not to find the generator C++ classes following the
> "source code" link (https://codesynthesis.com/projects/xsd/), but "only"
> header/templates files.

You need to download the source code archive, not the pre-build binary.
Specifically, xsd-4.0.0+dep.tar.bz2 from:

https://codesynthesis.com/download/xsd/4.0/

Then follow the instructions in:

https://codesynthesis.com/projects/xsd/extras/build-windows.xhtml

www.edap-tms.com<http://www.edap-tms.com>       [Facebook icon] <https://www.facebook.com/edaptmscompany/>    [LinkedIn icon] <https://www.linkedin.com/company/edap-tms>    [Twitter icon] <https://twitter.com/edaptms>    [Twitter icon] <https://www.hifu-prostate.com>     [Logo] <https://www.edap-tms.com/>

[Banner]



More information about the xsd-users mailing list