[xsde-users] serializer callback overrides sometimes present, sometimes not

Eric Broadbent Eric.Broadbent at csr.com
Tue Dec 20 11:27:58 EST 2011


I am using the C++/Hybrid and customizing the _serialize_content() callbacks in my _simpl classes.

What I've found is that not all elements in the _sskel classes have a  _serialize_content() method, and also that there is not a 1-1 mapping to the _simpl classes that have _serialize_content() methods.

In other words, I've found _simpl classes that override _serialize_content(), but the _sskel superclass that they inherit from does not expose a virtual _serialize_content() method, and the opposite case also occurs.

Is there a particular set of element attributes or contents which will determine whether C++/Hybrid with the --generate-serializer option will emit vs. omit _serialize_content() methods in the _sskel and _simpl classes?

Thanks,

-Eric B.
Zoran/CSR

Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Follow CSR on Twitter at http://twitter.com/CSR_PLC and read our blog at www.csr.com/blog



More information about the xsde-users mailing list