[xsd-users] Custom class inheritance

Boris Kolpackov boris at codesynthesis.com
Wed Aug 6 04:36:00 EDT 2014


Hi Kamil,

Kamil Grzebien <ciptok at gmail.com> writes:

> What I'm looking for is the possibility to generate class from xsd type
> that will also inherit from external custom class. I'd like to add some
> abstraction layer for set of generated objects.

Yes, you can do this with type customization. For more information see the
C++/Tree Mapping Customization Guide:

http://wiki.codesynthesis.com/Tree/Customization_guide

As well as the examples in the examples/cxx/tree/custom/ directory.

Boris



More information about the xsd-users mailing list