[xsde-users] Empty cpp generated depending on location of type definition

Vrijnsen, Jeroen jeroen.vrijnsen at philips.com
Mon Feb 13 01:13:56 EST 2017


Hi Boris,

Thanks, you're right. The part I was missing is, that for the other adapters I was writing, the serialization class was named after the root-element; for this particular case, it is indeed named after the element type, which is part of the LrCommonDataTypesSchema!

Thank you!


Regards,

Jeroen

________________________________
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: Friday, February 10, 2017 4:49:55 PM
To: Vrijnsen, Jeroen
Cc: xsde-users at codesynthesis.com
Subject: Re: [xsde-users] Empty cpp generated depending on location of type definition

Hi Jeroen,

Vrijnsen, Jeroen <jeroen.vrijnsen at philips.com> writes:

> #include "LrCommonDataTypesSchema.h"

Here it is: this header defines LrimType.


> Which is pretty empty... In my code using the LrimResponseSchema.h,
> I except to find a ::sgse::xsdegeneratedcode::xml::LrimResponse object,
> but that clearly is not there...

LrimResponse is an element in the schema which is mapped to a pair of
parsers/serializers, not object model classes. Take a look into
*-pimpl/*-simpl files.

Boris


________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.


More information about the xsde-users mailing list