[xsde-users] non-default constructors

Boris Kolpackov boris at codesynthesis.com
Tue Feb 2 07:58:37 EST 2016


Hi Oliver,

Jones Oliver <Oliver.Jones at helvar.com> writes:

> Can you tell me if there is a way to generate the non-default constructors,
> i.e. ones that set the members of the class.

No, there is no such support currently. This has been requested a few times
and we may implement it in the future, though it will only be for STL-enabled
configurations. The concern is the complexity: if you look at this logic in
XSD (which does this), it gets pretty hairy. Things like bases, polymorphism,
etc., will all interact with this.

Boris



More information about the xsde-users mailing list