[xsde-users] Using auto_ptr for passing shared objects

Andrey Filimonov andrey.v.filimonov at gmail.com
Wed Nov 18 23:52:05 EST 2015


Hi Boris,
Thanks for the answers. Is there a way to use typemaps in hybrid mode?

Andrey.

2015-11-18 18:22 GMT+03:00 Boris Kolpackov <boris at codesynthesis.com>:

> Hi Andrey,
>
> Andrey Filimonov <andrey.v.filimonov at gmail.com> writes:
>
> > I continue comparing parser/serializer implementations created by XSD and
> > XSDe.
>
> Just note, XSD doesn't really have a serializer mapping.
>
>
> > Code generated by XSD uses auto_ptr to pass shared objects.
> > In spite of the fact that the implementation is generated by XSDe without
> > --no-stl parameter, raw pointers are used to pass objects in the same
> > circumstances.
>
> You can use a type map to make the parser interface pass objects
> as smart pointers.
>
> Boris
>


More information about the xsde-users mailing list