Dynamic Ice and Classes

in Help Center
Hi, I have a class defined in my slice file and I would like to serialize it in C++ using Dynamic Ice.
The class is called Order and has the following definition:
Is there a code sample that I can refer to?
Regards,
Cyrille
The class is called Order and has the following definition:
class Address { string StreetName; }; class Order { Address BillTo; Address ShipTo; };
Is there a code sample that I can refer to?
Regards,
Cyrille
0
Comments
The example in demo/Ice/invoke shows how to serialize a variety of Slice types, including classes. Let us know if you have any questions about the code.
Regards,
Mark
Thanks for the demo. It now works. I was missing the read/writePendingObjects.
Cheers,
Cyrille